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@gmail.com
Tel. 0735 703735
Cell +39 339 6407211