[Pythonmac-SIG] py2app & PIL

2008-07-14 Thread Mariano Di Felice
Hi, I have a simple app called test.py as follow: import Image import traceback try: print "IMAGE: %s" % Image print "DIR: %s" % dir(Image) pil = Image.new("RGB", (300,300)) pil.save("test.jpg") except: traceback.print_exc() and I've created a s

Re: [Pythonmac-SIG] Yet another problem with path

2008-07-14 Thread Blake Winton
Pascal Bompard wrote: The fix I have working for this now is to use a symbolic link to the directory where I keep my scripts. If you make the first line of /Users/pascal/Documents/Python/Dev/myapps/test.py read like so: #!/usr/bin/env python and if your path contains /Users/pascal/Documents/

Re: [Pythonmac-SIG] Yet another problem with path

2008-07-14 Thread Christopher Barker
Pascal Bompard wrote: I suppose the next best strategy should be to look into using a terminal shortcut to at least make the "cd" to the directory a bit less painful. If you drag and drop a folder from the Finder to the terminal, its path will get pasted in. I also really like the "Open Term

Re: [Pythonmac-SIG] py2app & PIL

2008-07-14 Thread Christopher Barker
Mariano Di Felice wrote: I compile this app in my minimac with Lepard 10.5.4 OS, and I use python2.5 and PIL 1.1.6 compiled from source this can be tricky to get right, on both counts. I'd try using the Python.org binary and... I've tried install ready dmg PIL from here ( http://pythonmac.or

[Pythonmac-SIG] py2app, svn 1.5 and macholib

2008-07-14 Thread David A Krauth
Upon a recent upgrade to Leopard, I was having significant difficulties in producing a .app from py2app (wxPython-based), where I had had no trouble previously. In the interim, I had upgraded from Tiger, and from the default Apple build of 2.5.1 to MacPython 2.5.2. One of my stumbling blo