-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
56 lines (53 loc) · 1.71 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
""" Setup module for the TP-Timesheet package """
from setuptools import setup
from tp_timesheet import __version__ as version
REQUIREMENTS = [
"croniter~=1.3",
"python-crontab~=2.6",
"python-dateutil~=2.8",
"requests~=2.0",
"workalendar~=16.4.0",
]
DEV_REQUIREMENTS = {
"dev": [
"pytest==7.2.*",
"pylint==2.16.*",
"black==23.1.*",
"mock==4.0.3",
]
}
with open("README.md", encoding="utf-8") as readme_file:
LONG_DESCRIPTION = "".join(readme_file.readlines())
setup(
name="tp-timesheet",
version=version,
url="https://github.com/ThorpeJosh/tp-timesheet",
license="MIT",
author="Joshua Thorpe",
author_email="[email protected]",
description="CLI tool to automate the submisison of tp timesheets",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
keywords=["automation", "timesheet", "cli", "executable"],
packages=["tp_timesheet"],
include_package_data=True,
install_requires=REQUIREMENTS,
extras_require=DEV_REQUIREMENTS,
python_requires=">=3.8",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
],
entry_points={
"gui_scripts": ["tp-timesheet=tp_timesheet.__main__:run"],
},
)