Explicitly including packages 'photom' (mine) and 'OpenGL' (published)
produces strange results when py2app is run. For some reason, instead
of ending up in the site-packages.zip file, or the site-packages
directory, the packages are dropped into ../site-packages.zip, where
they are not found. I ended up hacking this by creating site-packages
and moving the packages into it, but am still wondering why it doesn't
just work.
Is there a simple fix I am missing?
--
Randolph Fritz
design machine group, architecture department, university of washington
rfr...@u.washington.edu -or- rfritz...@gmail.com
setup.py:
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
from setuptools import setup
APP = ['PhotomView.py']
DATA_FILES = []
INCLUDES = ['ctypes.util']
PACKAGES = ['photom','OpenGL']
RESOURCES = ['PhotomView.xrc']
OPTIONS = {
'argv_emulation': True,
'includes': INCLUDES,
'packages': PACKAGES,
'resources' : RESOURCES
}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG