setup.py

changeset 135
45c1a38f8709
parent 118
aadd60a24bc8
child 146
e79cc90c7798
equal deleted inserted replaced
134:a7aa8ca7b3d0 135:45c1a38f8709
1 from setuptools import setup 1 from setuptools import setup, find_packages
2
3 APP = ['borgend.py']
4 DATA_FILES = []
5 OPTIONS = {
6 'argv_emulation': False,
7 'plist': {
8 'LSUIElement': True,
9 },
10 'packages': ['rumps', 'keyring', 'yaml'],
11 'includes': ['xdg'],
12 'excludes': ['wx', 'PyQt5', 'matplotlib', 'numpy', 'scipy'],
13 }
14 2
15 setup( 3 setup(
16 app=APP, 4 name = 'borgend',
17 data_files=DATA_FILES, 5 version = '0.1.0',
18 options={'py2app': OPTIONS}, 6 author = 'Tuomo Valkonen',
7 author_email = 'tuomov@iki.fi',
8 url = 'https://tuomov.iki.fi/software/borgend/',
9 packages = ['borgend'],
10 data_files=[],
11 entry_points= {
12 "console_scripts": ["borgend = borgend.__main__:main"]
13 },
14 #setup_requires=['py2app'],
15 install_requires=[
16 "rumps",
17 "keyring",
18 "PyYAML",
19 "xdg;platform_system!='darwin'",
20 ],
21 app=['borgend/__main__.py'],
19 setup_requires=['py2app'], 22 setup_requires=['py2app'],
23 options={
24 'py2app': {
25 'argv_emulation': False,
26 'plist': {
27 'LSUIElement': True,
28 },
29 'excludes': ['wx', 'matplotlib', 'numpy', 'scipy', 'sip'],
30 }
31 }
20 ) 32 )

mercurial