-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
80 lines (72 loc) · 2.37 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
from pathlib import Path
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
def find_requires():
requirements = []
dir_path = Path(__file__).resolve().parent
with open(dir_path / "requirements.txt") as f:
requirements = f.readlines()
return requirements
if __name__ == "__main__":
ver = "0.2.5"
setup(
name="pomodorotimer",
version=ver,
url="https://github.com/patsuckow/pomodorotimer",
project_urls={
"Bug Tracker": "https://github.com/patsuckow/pomodorotimer/issues",
"Donate": "https://www.paypal.me/patsuckow",
},
description="CLI Pomodoro Timer",
long_description=long_description,
long_description_content_type="text/markdown",
license="GNU General Public License v3 (GPLv3)",
author="Alexey Patsukov 🇷🇺",
author_email="[email protected]",
python_requires=">=3.10.13",
keywords=[
"pomodoro",
"tomato",
"pomodorotimer",
"pomodoro timer",
"pomodoro technique",
"productivity",
"time management",
"countdown",
"stopwatch",
"timer",
"eta",
"freelance",
"freelancing",
"CLI",
],
classifiers=[
# As in https://pypi.python.org/pypi?:action=list_classifiers
"Development Status :: 4 - Beta",
"Environment :: Console",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Topic :: Utilities",
],
# Specify an executable console file
entry_points={
"console_scripts": [
"pomodoro = pomodorotimer.pomodorotimer:PomodoroTimer",
],
},
include_package_data=True,
packages=find_packages(
exclude=[
# '*.tests', '*.tests.*', 'tests',
# '*.img', '*.img.*', 'img',
# '*..github', '*..github.*', '.github'
]
),
zip_safe=False, # the package can run out of an .egg file
install_requires=find_requires(),
setup_requires=[],
# test_suite='tests',
# tests_require=[],
)