Skip to content

Instantly share code, notes, and snippets.

@agos
Created July 21, 2011 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agos/1098405 to your computer and use it in GitHub Desktop.
Save agos/1098405 to your computer and use it in GitHub Desktop.
py2app issue
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup
APP = ['bmgui.py']
DATA_FILES = []
OPTIONS = {
'argv_emulation': True,
'iconfile': 'icon.icns',
'packages': ['wx'],
'resources': ['main.xrc',],
'site_packages': 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