Re: [Pythonmac-SIG] How to include or install a Python runtime in an AppleScript applet

2021-10-02 Thread Kevin Walzer
There is no simple way to embed a Python installation within an AppleScript applet. If you're doing that, you might as well all the way and deploy your script as a full Mac application with Python libraries bundled using a tool like py2app. --Kevin -- Kevin Walzer Code by Kevin http

Re: [Pythonmac-SIG] PMPrinterPrintWithProvider

2019-01-25 Thread Kevin Walzer
On 1/25/19 5:44 AM, Ronald Oussoren via Pythonmac-SIG wrote: These APIs are not available through PyObjC at this time. Why do you want these APIs instead of the higher level APIs in AppKit? Since these are C API's, it should be possible to access them through ctypes, yes? -- Kevin Walzer

[Pythonmac-SIG] py2app error

2018-02-19 Thread Kevin Walzer
t in range [U+; U+10] I am not certain of how to proceed. Please advise. -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mai

Re: [Pythonmac-SIG] Tkinter and PyObjC

2017-09-06 Thread Kevin Walzer
for this to work because of Tk's architecture. I don't think that calling Tk from Cocoa is feasible. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com ___ Pythonmac-SIG maillist - Pythonmac

Re: [Pythonmac-SIG] py2app .app crashes... but only when downloaded (quarantine)

2017-02-02 Thread Kevin Walzer
, which is very old and buggy in terms of event loop integration; these kinds of overloads were not uncommon with that version (8.5). Try updating your build to 8.6.6 and see what happens; it's a lot more stable. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http

Re: [Pythonmac-SIG] Build Applet with 2.7.13 (64-bit) on 10.10.5 (and 10.6.x)

2017-01-22 Thread Kevin Walzer
pplet back in the day, but it's probably been 10 years). --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.o

Re: [Pythonmac-SIG] codesigning py2app/wxPython app failing

2015-08-23 Thread Kevin Walzer
are using it instead of codesign, but in my experience setting a signature size, i.e. --signature-size 9400, sometimes fixes codesign failures. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com

Re: [Pythonmac-SIG] codesigning py2app/wxPython app failing

2015-08-22 Thread Kevin Walzer
to be malware) saw this popup: I saw that too, but I suspect Brendan simply mistyped the domain. startssl.com is a valid CA for codesigning certs, and they have the lowest-cost certificates in the business. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http

Re: [Pythonmac-SIG] codesigning py2app/wxPython app failing

2015-08-22 Thread Kevin Walzer
if the cert was not issued by Apple's developer group. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.org

Re: [Pythonmac-SIG] New page on wiki about system Python

2014-08-03 Thread Kevin Walzer
that will deployed elsewhere, it's probably better to use a new installation. However, for casual programming, the system Python is fine. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com

Re: [Pythonmac-SIG] Code signing py2app generated apps

2014-06-07 Thread Kevin Walzer
. In architecture: i386 The certificate is a .p12 file that was imported with KeyChain.app to the System destination keychain. This works for me: codesign --deep --signature-size 9400 -f -s Developer ID Application: Kevin Walzer cbk/QuickWho.app I use cx_freeze in this app, not py2app

Re: [Pythonmac-SIG] Pythonmac-SIG Digest, Vol 129, Issue 1

2014-01-05 Thread Kevin Walzer
; and supporting 64-bit Python. I bet you can run the installer package from the GUI, as well, since it's not an old package like wxPython 2.8. Hope this helps, Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com

Re: [Pythonmac-SIG] Building extension modules with Xcode 5

2013-10-24 Thread Kevin Walzer
, as the maintainers, but that's my two cents. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.org/mailman

Re: [Pythonmac-SIG] Can any cross platform gui framework limitations be filled with ctypes / pyobjc or other?

2013-07-09 Thread Kevin Walzer
flag. See http://doc.qt.digia.com/qq/qq18-macfeatures.html for particulars. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http

Re: [Pythonmac-SIG] Can any cross platform gui framework limitations be filled with ctypes / pyobjc or other?

2013-07-09 Thread Kevin Walzer
after Digia took over Qt? My impression is that it was now an orphan. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http

Re: [Pythonmac-SIG] Can any cross platform gui framework limitations be filled with ctypes / pyobjc or other?

2013-07-09 Thread Kevin Walzer
to do with it (again I could be wrong!) but still seems active. Phil Thompson earns his living dual-licensing PyQt (commercial and GPL), just as TrollTech did. Moving to LGPL would probably hurt his revenue. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] app won't quit?

2013-05-27 Thread Kevin Walzer
I've observed this with the wxPy demo...may be a ex bug. Sent from my iPhone On May 27, 2013, at 11:26 AM, Charles Hartman co...@conncoll.edu wrote: I'm coming back to all of this after years away, so I'm sure I'm missing something simple. I've brought an old app into the current world:

Re: [Pythonmac-SIG] app won't quit?

2013-05-27 Thread Kevin Walzer
Wxpython bug, that is. Sent from my iPhone On May 27, 2013, at 11:26 AM, Charles Hartman co...@conncoll.edu wrote: I'm coming back to all of this after years away, so I'm sure I'm missing something simple. I've brought an old app into the current world: Python 2.7.5 OS 10.8.3

Re: [Pythonmac-SIG] NSSpeechSynthesizer from AppKit?

2013-05-01 Thread Kevin Walzer
be found via man say. The overhead of pyobjc isn't necessary here. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http

Re: [Pythonmac-SIG] How to make py2app app stub link to Cocoa framework?

2013-03-30 Thread Kevin Walzer
() failed with errno=1 3/30/13 7:04:02.119 PM DeFisheye: DeFisheye Error Some linking error to libpng, apparently. This wouldn't seem to have anything to do with the Cocoa linking issue in py2app. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http

Re: [Pythonmac-SIG] Query Regarding IDE for python for GUI Apps

2013-02-19 Thread Kevin Walzer
. Simple but adequate for my needs. --Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo

Re: [Pythonmac-SIG] KeyError: 'CFLAGS'

2012-12-13 Thread Kevin Walzer
switch to the target platform and try building there. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http

Re: [Pythonmac-SIG] Getting control over the Apple menu

2012-11-01 Thread Kevin Walzer
On 10/31/12 9:49 PM, w...@mac.com wrote: Where should I have been looking to find that for myself, please? The Tk man pages discuss special menus, including the Apple menu; I figured it out in Tkinter by Googling for snippets. Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] Getting control over the Apple menu

2012-10-31 Thread Kevin Walzer
On 10/31/12 5:48 PM, w...@mac.com wrote: applemenu = Menu(menubar, tearoff = FALSE) Add the apple name to the menu object, cf: applemenu = Menu(menubar, tearoff = FALSE, name='apple') That works for me. -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-11 Thread Kevin Walzer
On 10/10/12 11:26 PM, Ned Deily wrote: A Python patch could go here: http://bugs.python.org/issue15853 Patch submitted. The preferences dialog no longer crashes for me. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG

Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-10 Thread Kevin Walzer
0x0b0c591e 0xb00 + 809246 48 Tk 0x0b0c5ca6 0xb00 + 810150 49 Tcl 0x0a07c2d1 Tcl_DoOneEvent + 180 50 _tkinter.so 0x00593ef3 Tkapp_MainLoop + 355 (_tkinter.c:2638) -- Kevin

Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-10 Thread Kevin Walzer
On 10/10/12 7:38 PM, Ned Deily wrote: Look at the dump file I attached to the Tk issue. It has a complete debug trace through Tk including C line numbers. My stack trace is completely different, so I'm not sure where to look. -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-10 Thread Kevin Walzer
idle, etc. It may take some trial and error here to get that working. If I'm successful, where should I submit a patch? --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http

Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-10 Thread Kevin Walzer
On 10/10/12 10:02 PM, Kevin Walzer wrote: I've been stepping through the IDLE source code and it appears IDLE is crashing during the LoadConfigs() call of the config dialog. Still have more investigating to do, but I'm hopeful I can come up with a workaround that will keep things from crashing

Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-09 Thread Kevin Walzer
not sure what else to suggest. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options

Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-09 Thread Kevin Walzer
P.S. To fire the prefs dialog, type Command-, or command-comma. That is the default keybinding even though I did not explicitly enable it in the script. ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org

Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-08 Thread Kevin Walzer
it's still available. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options

Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-08 Thread Kevin Walzer
won't see this fix, because ActiveState hasn't incorporated it yet. The fix was committed in the past month or so, I believe, as part of the input method patch submitted by Adrian Robert. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] IDLE Crashes when Prefs are accessed on Python 3.3 on OSX 10.8.2

2012-10-08 Thread Kevin Walzer
::ShowPreferences, then it shouldn't crash unless Wish is also crashing. I don't know what to say if something crashes in Python/Tkinter but not in Tk. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG

Re: [Pythonmac-SIG] Tkinter ttk question

2012-10-02 Thread Kevin Walzer
what I'm doing wrong. I prefer pack to grid. Try this: mainframe.pack(fill=BOTH, expand=YES) --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo

Re: [Pythonmac-SIG] Tkinter/Mac newbie query

2012-09-11 Thread Kevin Walzer
. you can't set the foreground for them without creating an entirely custom stule; they pick up platform defaults much better, though). -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org

Re: [Pythonmac-SIG] wxCocoa no top menu

2012-08-15 Thread Kevin Walzer
You may have better luck asking on a wxPython ML... Sent from my iPhone On Aug 15, 2012, at 12:24 PM, Mark Livingstone livingstonem...@gmail.com wrote: No ideas? On 12 August 2012 13:31, Mark Livingstone livingstonem...@gmail.com wrote: Hi Guys, I finally dragged myself kicking and

Re: [Pythonmac-SIG] Problems with /Library/ScriptingAdditions/Adobe Unit Types.osax

2012-06-07 Thread Kevin Walzer
Additions, so I'm not sure. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] Problems with /Library/ScriptingAdditions/Adobe Unit Types.osax

2012-06-06 Thread Kevin Walzer
post a copy of your code, it would be easier to figure out what's going on. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe

Re: [Pythonmac-SIG] Problems with /Library/ScriptingAdditions/Adobe Unit Types.osax

2012-06-05 Thread Kevin Walzer
own apps, which crash when someone has an outdated osax installed--there's no workaround other than to ask the end user to remove or update the library.) -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac

Re: [Pythonmac-SIG] py2app bug with argv_emulation=True

2012-06-02 Thread Kevin Walzer
handled BEFORE the first line of my python code is executed. So none of this is any help to me. My users expect to double click on a .ctpx document to launch the application AND open that document for editing. Have I missed something? Mick On Wed, May 30, 2012 at 8:29 PM, Kevin Walzer k

Re: [Pythonmac-SIG] py2app bug with argv_emulation=True

2012-06-02 Thread Kevin Walzer
to guard against the app being launched without a file argument, but clearly what you want to do can be done. The opendoc event is still useful for dragging the file to the app icon in the Dock, regardless. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] py2app bug with argv_emulation=True

2012-05-30 Thread Kevin Walzer
it has received some openDocument events or until a timeout occurs). You can set a CFBundleTypeExtension key in your info.plist file to indicate that your app can handle a certain type of document via double-click. -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] py2app bug with argv_emulation=True

2012-05-30 Thread Kevin Walzer
/TkCmd/tk_mac.htm The commands are documented for Tk 8.6, but they are all present in the Cocoa-based version of Tk 8.5 from ActiveState as well, so you may find some useful things to look at here. Hope this helps, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] py2app, system Python, and Mac App Store

2012-05-06 Thread Kevin Walzer
On 5/4/12 9:42 PM, Kevin Walzer wrote: I'm getting quite frustrated with the app store's brain dead auto-scan tool that doesn't see proper symlinks in the framework, and I'm getting to the point where I am going to investigate other packaging tools that don't set up a framework structure

Re: [Pythonmac-SIG] py2app, system Python, and Mac App Store

2012-05-04 Thread Kevin Walzer
and/or pyinstaller. No blame to py2app here, of course. I appreciate your advice and support. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo

[Pythonmac-SIG] py2app, system Python, and Mac App Store

2012-05-03 Thread Kevin Walzer
, does anyone else have a Python app in the Mac App Store? Have you encountered issues with uploads or approvals? How are you setting up py2app? My recent headaches getting the app uploaded have been a real curveball, because I have had any issues previously. Thanks in advance, Kevin -- Kevin

Re: [Pythonmac-SIG] py2app strips symlinks in frameworks, need to keep them

2012-05-02 Thread Kevin Walzer
be sure)--but that's a separate issue I'll have to take up with Apple. :-( Thanks, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] py2app strips symlinks in frameworks, need to keep them

2012-04-30 Thread Kevin Walzer
py2app not strip them out in the first place. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http

Re: [Pythonmac-SIG] py2app strips symlinks in frameworks, need to keep them

2012-04-30 Thread Kevin Walzer
On 4/30/12 9:35 AM, Charlie Clark wrote: --semi-standalone (-s) depend on an existing installation of Python Not an option in my case, alas, but thanks for the suggestion. --K -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac

Re: [Pythonmac-SIG] These modules are deprecated and have been removed in Python 3.x

2012-04-18 Thread Kevin Walzer
library, since these functions pre-date OS X running on top of Unix; or, if you are really in need of specific functionality offered by one of the Carbon modules, code your own C wrapper library or use Ctypes. -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] appscript dead?

2012-03-08 Thread Kevin Walzer
of these approaches buys you anything that appscript does not. Hope this helps, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] shrink app bundle size (removing unused stuff)?

2012-03-08 Thread Kevin Walzer
/Contents/lib done cp -rf dist/Phynchronicity.app cbk/Phynchronicity.app ditto --rsrc --arch i386 --arch x86_64 cbk/Phynchronicity.app cbk/Phynchronicity_intel.app rm -rf cbk/Phynchronicity.app mv cbk/Phynchronicity_intel.app cbk/Phynchronicity.app ...and so on. Hope this helps, Kevin -- Kevin

Re: [Pythonmac-SIG] How to make py2app app stub link to Cocoa framework?

2011-11-10 Thread Kevin Walzer
this capability to py2app, I'm sure other folks would find it useful. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe

Re: [Pythonmac-SIG] How to make py2app app stub link to Cocoa framework?

2011-11-09 Thread Kevin Walzer
On 11/8/11 11:41 PM, Kevin Walzer wrote: Is there any way I can get this executable linked to /System/Library/Frameworks/Cocoa.framework? I didn't think install_name_tool would do the trick, as that just rewrites links, rather than adding them. A Any suggestions are appreciated. I solved

[Pythonmac-SIG] How to make py2app app stub link to Cocoa framework?

2011-11-08 Thread Kevin Walzer
do the trick, as that just rewrites links, rather than adding them. A Any suggestions are appreciated. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org

Re: [Pythonmac-SIG] Trouble building against Tkinter on 64-bit python.org python

2011-10-12 Thread Kevin Walzer
this issue now after building matplotlib, then it's logical to assume that matplotlib may have been linked to the wrong library. You can change the linking by running install_name_tool to get matplotlib to point to the correct version of Tk. --Kevin -- Kevin Walzer Code by Kevin http

[Pythonmac-SIG] App error--visit the MacPython website

2011-09-21 Thread Kevin Walzer
else? If so, where? -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

[Pythonmac-SIG] Tkinter app in Mac App Store

2011-04-14 Thread Kevin Walzer
: http://www.codebykevin.com/opensource/app-store.html. This article doesn't mention Python (it focuses instead on Tk), but most of it is applicable, and can be supplemented by what I've outlined in this e-mail. Hope others find this useful, Kevin -- Kevin Walzer Code by Kevin http

Re: [Pythonmac-SIG] Simple PyObjC question: real or vapor?

2011-04-06 Thread Kevin Walzer
Tk and Tkinter's integration of the Cocoa version of Tk. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http

[Pythonmac-SIG] Python compatible with GC?

2011-03-02 Thread Kevin Walzer
PyRun_SimpleFileExFlags + 489 21 com.codebykevin.quickwho-cbk0x00015856 start + 19074 22 com.codebykevin.quickwho-cbk0x000159c8 main + 229 23 com.codebykevin.quickwho-cbk0x00010e08 start + 52 --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] a word of warning for pyobjc users

2011-02-22 Thread Kevin Walzer
by hand? Use the XML format from GNUStep? (Renaissance, I think)? --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Mac and Python (absolute begineer)

2011-02-10 Thread Kevin Walzer
or even 10.4.x? A package built on 10.5.x should run fine on 10.5.x. Backwards compatibility (building on 10.5, running on 10.4) can be done but is a bit tricky. Others on the list can help with that. Good luck! Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] Amateur question about modules

2010-11-03 Thread Kevin Walzer
wrapper for the Snack sound library. You'll need to install TkSnack in your site-packages path and Snack in a place where Tkinter can find it like /Library/Tcl. Google can direct you to download sites. -- Kevin Walzer Code by Kevin http://www.codebykevin.com

[Pythonmac-SIG] Mac app store

2010-10-21 Thread Kevin Walzer
taking a careful look. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options

Re: [Pythonmac-SIG] py2app on linux

2010-10-15 Thread Kevin Walzer
On 10/15/10 4:56 AM, BjornJohansson wrote: Hi, I understood that py2app can only produce mac .apps when run on macosx and not linux. Is this correct? /bjorn That's correct. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] py2app 64 bit or 32 bit

2010-10-15 Thread Kevin Walzer
extensions, which obviously won't run on the Mac. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org

Re: [Pythonmac-SIG] Python 2.6/3.1 on Mac - default arch is i386?

2010-08-16 Thread Kevin Walzer
-- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Re: [Pythonmac-SIG] Python 2.6/3.1 on Mac - default arch is i386?

2010-08-16 Thread Kevin Walzer
such a patch in ActivePython? -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options

Re: [Pythonmac-SIG] [Pyobjc-dev] ANN: py2app 0.5

2010-07-30 Thread Kevin Walzer
to make it lay nicer on Tk-Cocoa. Again, thanks for the work you do. Thanks also to Ned Deilly for his contributions, bug reports, patches, etc. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac

[Pythonmac-SIG] sys.path corrupted?

2010-06-01 Thread Kevin Walzer
to look for. TIA, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac

Re: [Pythonmac-SIG] sys.path corrupted?

2010-06-01 Thread Kevin Walzer
On 6/1/10 11:06 AM, Kevin Walzer wrote: Does anyone have any idea what might cause my framework build of Python to see sys.path only in the build directory of one of my apps? I don't typically jigger my Python settings with .pth files so I have no idea what to look for. I solved the problem

Re: [Pythonmac-SIG] python 2.7 Tkinter using Tk 8.6

2010-05-21 Thread Kevin Walzer
). So, I assume I need to build my own osx packages of 2.7 linking against Tk 8.6 to achieve this? Thanks, Stephen Yes, most likely. I believe the binary installers from Python.org still link against 8.4 by default--anything else requires you to build your own. --Kevin -- Kevin Walzer Code

Re: [Pythonmac-SIG] Problems with Tk (I think)

2010-05-07 Thread Kevin Walzer
; I'm not able to reproduce this error. You might actually want to consider filing a bug with Apple, because this type of crash is coming from deep within Python or Tk's internals--not in your code. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] Py2app Problem

2010-04-17 Thread Kevin Walzer
that means it didn't work and I'll need a mac? Mike py2app only works on the Mac... -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Shell login for py2app bundle

2010-03-19 Thread Kevin Walzer
convert calls Ghostscript (gs) it can't find IT in /bin/sh. Suggestions? Thanks, Dan Why wouldn't you just use the full path to gs as well? /path/to/gs --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist

Re: [Pythonmac-SIG] Recommended Tcl/Tk with Py-2.6.x? (was: Test failure...)

2010-03-03 Thread Kevin Walzer
On 3/3/10 5:33 AM, Ned Deily wrote: The main problem before was 64-bit Tk availability. IIRC, the only real game in town for that was the Apple-supplied 8.5 in 10.6 which apparently pulled in from the TkAqua Cocoa/64-bit port project (which now may be a part of 8.6?). Kevin Walzer

Re: [Pythonmac-SIG] problem running py2app

2010-02-03 Thread Kevin Walzer
on my first attempt to build an app. Did you get any response to this question? Thanks, -Bill http://wiki.python.org/moin/MacPython/BundleBuilder -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG

Re: [Pythonmac-SIG] py2app annoyance

2010-01-26 Thread Kevin Walzer
with different headerpad flags, which I don't have time to do.) --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] py2app annoyance

2010-01-22 Thread Kevin Walzer
, with some modification (it's removed from 3.x). When I move my own platform to Python 3.x in the future, I will likely start a separate BundleBuilder 3.x project. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist

Re: [Pythonmac-SIG] Integrating aemreceive into a class--help

2010-01-12 Thread Kevin Walzer
, 'CoKvdman', ('', 'domain', aemreceive.kae.typeUnicodeText) ) app = quickwhoApp(None) app.mainloop() This plays nicer with aemreceive's procedural API. Thanks, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] Integrating aemreceive into a class--help

2010-01-12 Thread Kevin Walzer
On 1/12/10 2:13 PM, has wrote: Kevin Walzer wrote: You don't pass self to a bound method in Python. Delete the ('', 'self', ...) tuple. HTH One more follow-up: The code now works! I run this code in Script Editor: tell application QuickWho get domain codebykevin.com end tell

[Pythonmac-SIG] Integrating aemreceive into a class--help

2010-01-11 Thread Kevin Walzer
, and and it's only minimally maintained, so the extensive work needed to make it 64-bit capable has not yet been done. So, thanks again to has for his good work on this! And looking forward to additional advice on the package. Best, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] Python app with aemreceive is not scriptable

2010-01-10 Thread Kevin Walzer
: name 'fooApp' is not defined What's the best way to structure the command so that it can be seen from AppleScript, i.e. run in the proper scope and not return an error? --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG

Re: [Pythonmac-SIG] Python app with aemreceive is not scriptable

2010-01-10 Thread Kevin Walzer
On 1/10/10 3:08 PM, Kevin Walzer wrote: What's the best way to structure the command so that it can be seen from AppleScript, i.e. run in the proper scope and not return an error? Never mind about the scope question--I found that simply adding the aemreceive bits and the custom function

Re: [Pythonmac-SIG] Python app with aemreceive is not scriptable

2010-01-05 Thread Kevin Walzer
On 1/4/10 11:24 PM, Kevin Walzer wrote: On 1/4/10 8:18 AM, Kevin Walzer wrote: On 1/4/10 6:37 AM, has wrote: This is very weird, and I have no clue how to untangle it. My app won't respond to Apple Events at all without a valid sdef file in the bundle's Resources directory. However

Re: [Pythonmac-SIG] Python app with aemreceive is not scriptable

2010-01-05 Thread Kevin Walzer
commands or simply as Python commands accessed via the run script command. The goal *isn't* to encourage arbitrary Python snippets. Thanks, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG

Re: [Pythonmac-SIG] Python app with aemreceive is not scriptable

2010-01-04 Thread Kevin Walzer
, thanks. But now Script Editor complains about a corrupted dictionary. Looks fine to me. Any ideas? -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo

Re: [Pythonmac-SIG] Python app with aemreceive is not scriptable

2010-01-04 Thread Kevin Walzer
On 1/4/10 8:18 AM, Kevin Walzer wrote: On 1/4/10 6:37 AM, has wrote: Sounds like you forgot to add an OSAScriptingDefinition entry containing the sdef's filename to your info.plist. Also, bear in mind that sdef-only apps won't work in 10.4 or earlier; if that's a concern then you'll need

[Pythonmac-SIG] Python app with aemreceive is not scriptable

2010-01-03 Thread Kevin Walzer
because of my continuing difficulties with py2app. Any advice is appreciated... Thanks, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo

Re: [Pythonmac-SIG] py2app/PyQt/64-bit/Mach-O

2009-12-28 Thread Kevin Walzer
worked, but I don't feel like recompiling Tcl/Tk this time. Too much work when bundlebuilder is an easier, functioning solution. In the meantime, you might want to ping Ronald Oussoren with your patches--I'm sure that others will find them useful. --Kevin -- Kevin Walzer Code by Kevin http

Re: [Pythonmac-SIG] py2app/PyQt/64-bit/Mach-O

2009-12-27 Thread Kevin Walzer
/bdist.macosx-10.5-universal/egg/macholib/MachO.py(295)synchronize_size() - raise ValueError(New Mach-O header is too large to relocate) I've seen this before, and am not sure how to fix it. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] py2app/PyQt/64-bit/Mach-O

2009-12-27 Thread Kevin Walzer
to give it a large -headerpad value at link (look in man ld), that's at least worth a try. Do you know which library it is? Is it open-sourced? I may give it a shot in that case. It's just Tkinter--I have a four-way build (32/64 bit for PPC and Intel) of Tcl/Tk. -- Kevin Walzer Code by Kevin http

Re: [Pythonmac-SIG] Bundlebuilder--why remove it?

2009-12-12 Thread Kevin Walzer
bits from the standard library the only sane decision. None of that stuff works with a 64-bit build of 2.6, that's for sure. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http

Re: [Pythonmac-SIG] Bundlebuilder--why remove it?

2009-12-11 Thread Kevin Walzer
gets beyond me. I've tried a few things to get it to work, but with no progress. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Bundlebuilder--why remove it?

2009-12-11 Thread Kevin Walzer
tried to fix the problem myself, but have made no progress. At this point I've lost interest in improving py2app and am content to stick with the dumber, blunter, but simpler instrument of bundlebuilder. -- Kevin Walzer Code by Kevin http://www.codebykevin.com

Re: [Pythonmac-SIG] Bundlebuilder--why remove it?

2009-12-10 Thread Kevin Walzer
with a generic icon--at least, this has been reported on their mailing list WRT wxPython apps. So it doesn't seem ready for prime time yet either. Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac

[Pythonmac-SIG] Bundlebuilder--why remove it?

2009-12-09 Thread Kevin Walzer
available for Python 3.x? Submit a feature request at the bug tracker? Or separate it out, and submit a PyPi project? --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http

Re: [Pythonmac-SIG] Bundlebuilder--why remove it?

2009-12-09 Thread Kevin Walzer
On 12/9/09 12:32 PM, Christopher Barker wrote: Kevin Walzer wrote: Bundlbuilder doesn't really argvemulation anyway, since hooks for this exist in all the major GUI libraries (Tk, wxPython, and certainly PyObjC). I actually use argv emulation more for non-gui apps -- a way for folks

Re: [Pythonmac-SIG] Bundlebuilder--why remove it?

2009-12-09 Thread Kevin Walzer
. Understood. I'll probably fork it once I move to 3.x. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

  1   2   3   >