[Pythonmac-SIG] py2app and mysqldb

Christopher Barker Chris.Barker at noaa.gov
Tue Apr 28 00:58:41 CEST 2009


Elizabeth Lackey wrote:
> My setup.py now looks like...
> 
> from setuptools import setup
> 
> APP = ['mac_test.py']
> DATA_FILES = []
> PACKAGES = ['MySQLdb']
> INCLUDES = ['MySQLdb']

That's odd -- you should only need PACKAGES

> OPTIONS = {'argv_emulation': True,
>           'packages': PACKAGES,
>           'includes': INCLUDES,
>           }
> 
> setup(
>     app=APP,
>     data_files=DATA_FILES,
>     options={'py2app': OPTIONS},
>     setup_requires=['py2app'],
>     options=dict(py2app=dict(argv_emulation=True),

whooa! you've defined "options" twice here -- maybe only the second one 
is taking...



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the Pythonmac-SIG mailing list