Skip to content

Instantly share code, notes, and snippets.

@ymoslem

ymoslem/setup.py Secret

Created February 17, 2022 00:24
Show Gist options
  • Save ymoslem/e0c88f30181191d57c374b6cdad9317c to your computer and use it in GitHub Desktop.
Save ymoslem/e0c88f30181191d57c374b6cdad9317c to your computer and use it in GitHub Desktop.
# setup.py to be used with py2app
from setuptools import setup
APP = ['translator.py']
DATA_FILES = ['utils']
OPTIONS = {
'iconfile':'PythonApplet.icns',
'packages': ['pandas'],
}
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