setup.py

Wed, 05 Dec 2018 08:27:35 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Wed, 05 Dec 2018 08:27:35 -0500
changeset 122
8d2881338a4a
parent 118
aadd60a24bc8
child 135
45c1a38f8709
permissions
-rw-r--r--

screenshot, typofixes

22
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
1 from setuptools import setup
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
2
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
3 APP = ['borgend.py']
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
4 DATA_FILES = []
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
5 OPTIONS = {
24
94d58d514d69 Workaround to PYTHONPATH and PYTHONHOME being messed up by py2app.
Tuomo Valkonen <tuomov@iki.fi>
parents: 22
diff changeset
6 'argv_emulation': False,
22
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
7 'plist': {
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
8 'LSUIElement': True,
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
9 },
117
b509a4e34d7f xdg include fix?
Tuomo Valkonen <tuomov@iki.fi>
parents: 60
diff changeset
10 'packages': ['rumps', 'keyring', 'yaml'],
b509a4e34d7f xdg include fix?
Tuomo Valkonen <tuomov@iki.fi>
parents: 60
diff changeset
11 'includes': ['xdg'],
118
aadd60a24bc8 py2app is fucked up shit that couldn't find a packages with staring at it
Tuomo Valkonen <tuomov@iki.fi>
parents: 117
diff changeset
12 'excludes': ['wx', 'PyQt5', 'matplotlib', 'numpy', 'scipy'],
22
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
13 }
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
14
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
15 setup(
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
16 app=APP,
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
17 data_files=DATA_FILES,
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
18 options={'py2app': OPTIONS},
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
19 setup_requires=['py2app'],
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
20 )

mercurial