forked from pimutils/khal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·74 lines (68 loc) · 2.13 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
#!/usr/bin/env python3
import sys
from setuptools import setup
if sys.version_info < (3, 6):
errstr = "khal only supports python version 3.6+. Please Upgrade.\n"
sys.stderr.write("#" * len(errstr) + '\n')
sys.stderr.write(errstr)
sys.stderr.write("#" * len(errstr) + '\n')
sys.exit(1)
requirements = [
'click>=3.2',
'click_log>=0.2.0',
'icalendar>=4.0.3',
'urwid>=1.3.0',
'pyxdg',
'pytz',
'python-dateutil',
'configobj',
# https://github.com/untitaker/python-atomicwrites/commit/4d12f23227b6a944ab1d99c507a69fdbc7c9ed6d # noqa
'atomicwrites>=0.1.7',
'tzlocal>=1.0',
]
test_requirements = [
'freezegun',
'vdirsyncer',
]
extra_requirements = {
'proctitle': ['setproctitle'],
}
setup(
name='khal',
description='A standards based terminal calendar',
long_description=open('README.rst').read(),
author='khal contributors',
author_email='[email protected]',
url='http://lostpackets.de/khal/',
license='Expat/MIT',
packages=['khal', 'khal/ui', 'khal/khalendar', 'khal/settings'],
package_data={'khal': [
'settings/default.khal',
'settings/khal.spec',
]},
entry_points={
'console_scripts': [
'khal = khal.cli:main_khal',
'ikhal = khal.cli:main_ikhal',
]
},
install_requires=requirements,
extras_require=extra_requirements,
tests_require=test_requirements,
setup_requires=['setuptools_scm != 1.12.0'], # not needed when using packages from PyPI
use_scm_version={'write_to': 'khal/version.py'},
zip_safe=False, # because of configobj loading the .spec file
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Environment :: Console :: Curses",
"Intended Audience :: End Users/Desktop",
"Operating System :: POSIX",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Utilities",
"Topic :: Communications",
],
)