-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathsetup.py
50 lines (43 loc) · 1.47 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
from setuptools import setup, find_packages
import os
import sys
py_version = sys.version_info[:2]
if py_version < (3, 5):
raise RuntimeError('timetracker-cli requires Python 3.5 or later')
from pathlib import Path
home = str(Path.home())
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt", "r") as fh:
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='[email protected]',
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",
],
)