I am trying to use py2app to create my .app file, it gives me no errors, but
I have MySQLdb installed properly, I can get to it from the python command prompt. My program works properly when I run it through Terminal, but obviously, that's not good enough for distribution. When I execute the .app created by py2app, I error out claiming the module is not imported. I cannot figure out the syntax to edit the setup.py file created by py2applet to allow for the MySQLdb module. I am fairly certain it's a syntax issue... but...I don't know what to do with the syntax. my current setup.py from setuptools import setup APP = ['mac_test.py'] DATA_FILES = [] OPTIONS = {'argv_emulation': True} setup( app=APP, data_files=DATA_FILES, options={'py2app': OPTIONS}, setup_requires=['py2app'], options=dict(py2app=dict(argv_emulation=True), ) ) I assume I need to add something along the lines of this, but I can't figure out the syntax options=dict(includes=['MySQLdb']) Please help!
_______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig