Created
August 7, 2012 22:33
-
-
Save tiagopereira/3290088 to your computer and use it in GitHub Desktop.
setup.py file for creating py2app applications making use of Enthought GUI tools with Qt4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This is a setup.py script generated by py2applet | |
Usage: | |
python setup.py py2app | |
""" | |
from setuptools import setup | |
APP = ['myprog.py'] | |
DATA_FILES = [] | |
OPTIONS = dict( | |
includes = [ | |
# The backends are dynamically imported and thus we need to | |
# tell py2app about them. | |
'kiva.*', | |
'enable.*', | |
'enable.qt4.*', | |
'pyface.*', | |
'pyface.ui.qt4.*', | |
'pyface.ui.qt4.action.*', | |
'pyface.ui.qt4.timer.*', | |
'pyface.ui.qt4.wizard.*', | |
'pyface.ui.qt4.workbench.*', | |
'traitsui.qt4.*', | |
'traitsui.qt4.extra.*', | |
'PyQt4.pyqtconfig'], | |
argv_emulation = True) | |
setup( | |
app=APP, | |
data_files=DATA_FILES, | |
options={'py2app': OPTIONS}, | |
setup_requires=['py2app'], | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment