setup.py

Sun, 21 Jan 2018 18:32:14 +0000

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 21 Jan 2018 18:32:14 +0000
changeset 39
56af43e9c949
parent 33
91421eeb4426
child 56
d63f6e9a4633
permissions
-rw-r--r--

Just don't set a diffirent level for fifolog after all

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 },
33
91421eeb4426 Use rumps.application_support instead of xdg paths. Also separated branding into config.py
Tuomo Valkonen <tuomov@iki.fi>
parents: 24
diff changeset
10 'packages': ['rumps', 'keyring'], #, 'xdg'],
22
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
11 }
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
12
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
13 setup(
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
14 app=APP,
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
15 data_files=DATA_FILES,
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
16 options={'py2app': OPTIONS},
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
17 setup_requires=['py2app'],
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
18 )

mercurial