setup.py

Sun, 05 Dec 2021 14:58:56 +0200

author
Tuomo Valkonen <tuomov@iki.fi>
date
Sun, 05 Dec 2021 14:58:56 +0200
changeset 138
26080284df3c
parent 135
45c1a38f8709
child 146
e79cc90c7798
permissions
-rw-r--r--

Add skeleton pyproject.toml

135
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
1 from setuptools import setup, find_packages
22
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 setup(
135
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
4 name = 'borgend',
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
5 version = '0.1.0',
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
6 author = 'Tuomo Valkonen',
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
7 author_email = 'tuomov@iki.fi',
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
8 url = 'https://tuomov.iki.fi/software/borgend/',
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
9 packages = ['borgend'],
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
10 data_files=[],
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
11 entry_points= {
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
12 "console_scripts": ["borgend = borgend.__main__:main"]
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
13 },
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
14 #setup_requires=['py2app'],
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
15 install_requires=[
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
16 "rumps",
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
17 "keyring",
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
18 "PyYAML",
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
19 "xdg;platform_system!='darwin'",
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
20 ],
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
21 app=['borgend/__main__.py'],
22
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
22 setup_requires=['py2app'],
135
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
23 options={
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
24 'py2app': {
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
25 'argv_emulation': False,
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
26 'plist': {
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
27 'LSUIElement': True,
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
28 },
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
29 'excludes': ['wx', 'matplotlib', 'numpy', 'scipy', 'sip'],
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
30 }
45c1a38f8709 Rewrite setup.py; seems to help with py2app
Tuomo Valkonen <tuomov@iki.fi>
parents: 118
diff changeset
31 }
22
c3e95212e3f0 py2app standalone app generation
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
32 )

mercurial