This repository has been archived by the owner on Apr 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·73 lines (66 loc) · 2.05 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
import os
from setuptools import setup
NAME = 'Spytrack'
DESCRIPTION = 'Automatic time tracker'
URL = 'https://github.com/2e3s/spytrack'
EMAIL = '[email protected]'
AUTHOR = '2e3s'
REQUIRES_PYTHON = '>=3.6.0'
VERSION = '0.1.2'
REQUIRED = [
'aw-core',
'aw-client',
'aw-server',
'aw-watcher-afk',
'aw-watcher-window',
'pyyaml',
'PyQt5',
'PyQtChart',
]
REQUIRED_LINKS = [
'git+https://github.com/ActivityWatch/aw-core@master#egg=aw-core',
'git+https://github.com/ActivityWatch/aw-client@master#egg=aw-client',
'git+https://github.com/ActivityWatch/aw-server.git@master#egg=aw-server',
'git+https://github.com/ActivityWatch/aw-watcher-afk.git@master#egg=aw-watcher-afk',
'git+https://github.com/ActivityWatch/aw-watcher-window.git@master#egg=aw-watcher-window',
]
EXTRAS = {}
here = os.path.abspath(os.path.dirname(__file__))
try:
with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = '\n' + f.read()
except FileNotFoundError:
long_description = DESCRIPTION
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=long_description,
author=AUTHOR,
author_email=EMAIL,
python_requires=REQUIRES_PYTHON,
url=URL,
packages=['spytrack'],
install_requires=REQUIRED,
extras_require=EXTRAS,
include_package_data=True,
license='COPYING',
entry_points={
# "console_scripts": ['spytrack_tray = spytrack.runner'],
"gui_scripts": ['spytrack = spytrack:main'],
},
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Topic :: Utilities',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Operating System :: POSIX :: Linux',
# 'Operating System :: Microsoft :: Windows',
# 'Operating System :: MacOS',
],
)