Skip to content

Instantly share code, notes, and snippets.

@blitzmann
Created November 22, 2015 17:03
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 blitzmann/7e9fc1da767431bc108d to your computer and use it in GitHub Desktop.
Save blitzmann/7e9fc1da767431bc108d 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
import requests.certs
APP = ['pyfa.py']
DATA_FILES = ['eve.db', 'README.md', 'LICENSE', 'imgs', requests.certs.where()]
OPTIONS = {
'argv_emulation': True,
'iconfile': 'dist_assets/mac/pyfa.icns',
'packages': ['eos', 'gui', 'service', 'utils']
}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)
@thorr18
Copy link

thorr18 commented Nov 29, 2015

Will this be incorporated into the Pyfa repo or is this the spot I should grab from?
Also, is the argv_emulation correct ? I know you said something about changing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment