Re: [wxpython-users] py2app Mac
by Mariano Di Felice other posts by this author
May 9 2008 6:02AM messages near this date
Re: [wxpython-users] py2app Mac
|
Re: [wxpython-users] py2app Mac
Nothing to do...
My py2app don't works absolutely!!! grrr
If someone knows what can I do, please, I've lost all my hopes...
This is my py2app setup.py script:
from distutils.core import setup
import os
includes=["PIL", "PIL._imaging", "PIL._imagingft", "PIL._imagingmath",
"PIL._imagingtk", "Image", "PIL.Image"]
packages = ["PIL", "PIL.Image"]
import py2app
plist = {}
setup(name='test',
options={ 'py2app': { 'includes':includes, #'packages': packages,
'compressed': True,
'optimize': 2,
'plist': plist } },
version='0.1',
app=["test.py"],
setup_requires=["py2app"],
)
and this is my very simple python script test.py
import Image
import os
import sys
import wx
app = wx.PySimpleApp(0)
Image.new("RGBA", (400,400) )
wx.MessageBox("ciao", "")
app.MainLoop()
Well, compile works well, but when I start my app in a MAC machine
without wxpython and PIL, this is the error:
ImportError: The _imaging C module is not installed
Any idea???
I use:
py2app 0.3.6
python 2.5.2
wxPython 2.8.7.1
PIL 1.1.6
I'm tried to install py2app 0.4.2 from svn, but it fails for some reason....
PS: I'm desperate...
--
/\/\ariano Di Felice
Java PHP Python Ruby programmer
with MySQL, PostgreSql, SQLite and Oracle support
Linux Platform Developer
http://www.marianodifelice.it
mariano.difelice@[...].com
Tel. 0735 703735
Cell +39 339 6407211
_______________________________________________
wxpython-users mailing list
wxpython-users@[...].org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
Thread:
Chester
Werner F. Bruhin
Mariano Di Felice
Robin Dunn
Robin Dunn
Christopher Barker
Mariano Di Felice
Christopher Barker
Mariano Di Felice
Christopher Barker
Mariano Di Felice
Christopher Barker
Mariano Di Felice
Robin Dunn
Mariano Di Felice
Robin Dunn
Mariano Di Felice
Chester
Tim Roberts
Chester
Werner F. Bruhin
Chester
|