Skip to content

Instantly share code, notes, and snippets.

@alexlib
Forked from tiagopereira/setup.py
Created August 1, 2013 22:54
Show Gist options
  • Save alexlib/6136071 to your computer and use it in GitHub Desktop.
Save alexlib/6136071 to your computer and use it in GitHub Desktop.
"""
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