-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
42 lines (38 loc) · 1.07 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
"""
setup.py for py2app
Usage:
python3 setup.py py2app
"""
from setuptools import setup
APP = ['hamster/__main__.py']
APP_NAME = 'Hamster'
DATA_FILES = [('', ['hamster/.hamster_app.properties']), ('img', ['hamster/img/hamster.png'])]
OPTIONS = {
'argv_emulation': False,
'iconfile': 'hamster/img/hamster.png',
'plist': {
'LSUIElement': True,
},
'packages': ['rumps', 'configparser', 'plistlib', 'os', 're', 'pathlib', 'psutil'],
}
setup(
app=APP,
name=APP_NAME,
author='NaveenKumar Namachivayam',
version='0.1',
url='https://qainsights.com',
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
install_requires=['rumps'],
classifiers=[
'Environment :: MacOS X',
'License :: Apache 2 License',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
]
)