Re: [Pythonmac-SIG] PIL for OS-X

2008-04-09 Thread Bill Janssen
> But you're right, it would be nice to get that down to a single script. > I'll get a start on that. Do you think it should download the tarballs > too (curl) ? Feel free to start with my script here. I download the tarballs, unpack PIL and all the prereq packages in /tmp, and go to work. ${d

Re: [Pythonmac-SIG] PIL for OS-X

2008-04-09 Thread Bill Janssen
> > On 5 Apr, 2008, at 1:40, Christopher Barker wrote: > >> Can we build a single binary installer for PIL that will work with BOTH > >> Apple's Python2.5 that comes with OS-X 10.5 and MacPython2.5, Universal > >> Framework Build for OS-X 10.3.9 and above. > > > > Not really, you'll have to provid

Re: [Pythonmac-SIG] PIL for OS-X

2008-04-09 Thread Christopher Barker
Ronald Oussoren wrote: > On 5 Apr, 2008, at 1:40, Christopher Barker wrote: >> Can we build a single binary installer for PIL that will work with BOTH >> Apple's Python2.5 that comes with OS-X 10.5 and MacPython2.5, Universal >> Framework Build for OS-X 10.3.9 and above. > > Not really, you'll hav

Re: [Pythonmac-SIG] Carbon bindings' future (was: Re: eliminating appscript-triggered Dock icon)

2008-04-09 Thread Jack Jansen
On 9-Apr-2008, at 07:56 , Ronald Oussoren wrote: Even fixing bgen isn't that much work, once you understand the code. The problem is that bgen is a nearly vertical learning curve and Jack seems to be the only person that understands enough of bgen to be able to hack on it. I'm definitely

Re: [Pythonmac-SIG] Double-clickable wxpython application?

2008-04-09 Thread Henning Hraban Ramm
Am 2008-04-09 um 02:54 schrieb Kevin Horton: >> Try to map *.py on Python Launcher. > I didn't even know PythonLauncher.app existed, but SpotLight found > it, and I did the mapping. PythonLauncher from Apple's python 2.3 on > OS 10.4 didn't work, but the one from MacPython 2.5 did work. At > leas

Re: [Pythonmac-SIG] Double-clickable wxpython application?

2008-04-09 Thread Christopher Barker
Henning Hraban Ramm wrote: > 2008/4/7, Kevin Horton <[EMAIL PROTECTED]>: >> I hope to find a way so she >> can double click on something to start this application. > The "big" solution is py2app. It's not that big -- and I think it will use the built-in python if that's what you're using, s

Re: [Pythonmac-SIG] PIL and py2app on Leopard

2008-04-09 Thread Christopher Barker
Jörg Birkhold wrote: > Strange thing is I downloaded the mac package from pythonmac but the > installer says there is no python 2.5 on my system??? > I'm using Leopard with Developer Tools so it is there for sure. Those packages are for the "MacPython" that is also distributed from that site. Th

Re: [Pythonmac-SIG] PIL and py2app on Leopard

2008-04-09 Thread Jörg Birkhold
Am 09.04.2008 um 19:22 schrieb Christopher Barker: >> > > > I've just looked at my install, which is from the PIL package on > pythonmac.org/packages. in site-packages, there is a directory > called "PIL". It is a package (it has an __init__.py), but it is > also added to the sys.path by the

Re: [Pythonmac-SIG] PIL and py2app on Leopard

2008-04-09 Thread Christopher Barker
Sorry, I've lost track of this thread a bit, but I'm going to try to give some general advice -- sorry if I repeat stuff you've already said/tried: >> import Image > > that throws an error that the module is not found even without wrapping > is it the recommendation for py2app or for python gen

Re: [Pythonmac-SIG] PIL and py2app on Leopard

2008-04-09 Thread Jörg Birkhold
Am 09.04.2008 um 13:20 schrieb Martin Dunschen: > The recommendation is to import like this: > > import Image that throws an error that the module is not found even without wrapping is it the recommendation for py2app or for python general? > > > not > from PIL import Image > ... > > This reqir

Re: [Pythonmac-SIG] PIL and py2app on Leopard

2008-04-09 Thread Martin Dunschen
The recommendation is to import like this: import Image ... not from PIL import Image ... This reqires that PYTHONPATH is set up to find the module. PIL should be in your PYTHONPATH environment variable. Test this: import sys print sys.path and see if PIL is somewhere in there. When you run

Re: [Pythonmac-SIG] PIL and py2app on Leopard

2008-04-09 Thread Jörg Birkhold
hello, i tried this but still got the same error. in my code i use: from PIL import Image my setup.py: from setuptools import setup setup( app=["converter.py"], setup_requires=["py2app"], options=dict(py2app=dict(packages='PIL',)), ) in the terminal i get: *** using recipe: PIL