-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
46 lines (39 loc) · 1.1 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
43
44
45
46
import os
from setuptools import setup
from halo.settings import DEBUG, VERSION
if DEBUG:
print("You cannot build or install in debug mode.")
exit(1)
def get_long_description():
description = []
with open('README.md') as f:
description.append(f.read())
setup(name='halo-weather',
version=VERSION,
description='The weather app.',
long_description=get_long_description(),
author='Cijo Saju',
author_email='[email protected]',
license='MIT',
packages=['halo'],
url='https://github.com/cijo7/Halo',
entry_points={
"gui_scripts": [
"halo-weather = halo.__main__:main",
]
},
install_requires=[
"requests",
"pytz",
"pygobject",
"matplotlib",
"typing"
],
data_files=[
(os.getenv('HOME') + '/.local/share/applications', ['halo.desktop']),
(os.getenv('HOME') + '/.local/share/icons', ['halo/assets/halo.svg']),
],
package_data={
'': ['*.css', 'assets/*.*', 'assets/icon/*']
},
zip_safe=False)