- Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathsetup.py
More file actions
Latest commit
50 lines (43 loc) · 1.47 KB
/
Copy pathsetup.py
File metadata and controls
50 lines (43 loc) · 1.47 KB
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
fromsetuptoolsimportsetup, find_packages
importos
importsys
py_version=sys.version_info[:2]
ifpy_version< (3, 5):
raiseRuntimeError('timetracker-cli requires Python 3.5 or later')
frompathlibimportPath
home=str(Path.home())
withopen("README.md", "r") asfh:
long_description=fh.read()
withopen("requirements.txt", "r") asfh:
requirements=fh.readlines()
setup(
name='timetracker-cli',
version='1.3.0',
description='A command-line utility to interact with BairesDev Time tracker',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/eyscode/timetracker/',
author='Eysenck Gómez',
author_email='eysenck.gomez@gmail.com',
packages=find_packages(include=['timetracker']),
include_package_data=True,
install_requires=requirements,
zip_safe=False,
entry_points={
'console_scripts': [
'tt=timetracker.cli:tt',
],
},
data_files=[(os.path.join(home, '.timetracker'), ['config.toml'])],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Environment :: Console",
"Operating System :: OS Independent",
],
)