-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (40 loc) · 1.22 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
import os
import setuptools
here = os.path.abspath(os.path.dirname(__file__))
info = {}
with open(os.path.join(here, 'te', '__info__.py'), 'r') as f:
exec(f.read(), info)
with open('requirements.txt', 'r') as f:
requirements = f.read()
with open('README.md', 'r') as f:
readme = f.read()
setuptools.setup(
name=info['TITLE'],
version=info['VERSION'],
author=info['AUTHOR'],
author_email=info['EMAIL'],
description=info['DESCRIPTION'],
long_description=readme,
long_description_content_type='text/markdown',
url=info['URL'],
license=info['LICENSE'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Utilities'
],
keywords='toggl cli timesheet entry time tracking',
platforms='any',
packages=setuptools.find_packages(),
install_requires=requirements,
entry_points={
'console_scripts': [
'{}={}:main'.format(info['TITLE'], info['TITLE'])
]
}
)