-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
58 lines (51 loc) · 1.74 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
47
48
49
50
51
52
53
54
55
56
57
58
"""Run "python setup.py install" to install gittivity."""
import platform
from setuptools import setup
try:
with open('README.md') as f:
long_description = f.read()
except Exception:
long_description = """
`gittivity` is a simple, elegant Python package to show git
activity terminal notificaion.
More information at: https://github.com/s1s1ty/gittivity/.
"""
entry_points = {
'console_scripts': [
'gittivity = gittivity.notifier:help_text',
'gittivity-help = gittivity.notifier:help_text',
'gittivity-start = gittivity.notifier:main',
'gittivity-stop = gittivity.notifier:stop',
]
}
requirements = ['requests', 'pyjsonq']
if platform.system().lower() == 'darwin':
requirements.append('pync')
elif platform.system().lower() == 'windows':
requirements.append('win10toast')
setup(name="gittivity",
packages=['gittivity'],
version='1.0.0',
description="Git activity terminal notifier",
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'Topic :: Utilities',
'Topic :: Terminals',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
author='Shaonty Dutta',
author_email='shaonty.dutta@gmail.com',
license='MIT',
url="https://github.com/s1s1ty/gittivity/",
keywords=['Utilities', 'Terminal', 'Notifier'],
include_package_data=True,
zip_safe=False,
setup_requires=['setuptools>=38.6.0'],
install_requires=requirements,
entry_points=entry_points
)