-
-
Notifications
You must be signed in to change notification settings - Fork 106
/
setup.py
61 lines (50 loc) · 1.97 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
import re
from setuptools import find_packages, setup
with open("timetagger/__init__.py") as fh:
VERSION = re.search(r"__version__ = \"(.*?)\"", fh.read()).group(1)
with open("requirements.txt") as fh:
runtime_deps = [x.strip() for x in fh.read().splitlines() if x.strip()]
short_description = (
"Tag your time, get the insight - an open source time tracker for individuals"
)
long_description = """
# Timetagger
An open source time tracker with a focus on a simple and interactive user experience.
* Website: https://timetagger.app
* Github: https://github.com/almarklein/timetagger
<br />
<img src='https://timetagger.app/screenshot1.png' width='400px' />
"""
setup(
name="timetagger",
version=VERSION,
packages=find_packages(exclude=["tests", "tests.*", "examples", "examples.*"]),
package_data={
f"timetagger.{x}": ["*"] for x in ["common", "images", "app", "pages"]
},
scripts=["contrib/multiuser_tweaks/timetagger_multiuser_tweaks.py"],
python_requires=">=3.6.0",
install_requires=runtime_deps,
license="GPL-3.0",
description=short_description,
long_description=long_description,
long_description_content_type="text/markdown",
author="Almar Klein",
author_email="almar.klein@gmail.com",
url="https://github.com/almarklein/timetagger",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"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",
],
)