This repository has been archived by the owner on Sep 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
75 lines (70 loc) · 2.01 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
from setuptools import setup, find_packages
name = 'onegov.election_day'
version = '3.13.9'
def get_long_description():
readme = open('README.rst').read()
history = open('HISTORY.rst').read()
return '\n'.join((readme, history))
setup(
name=name,
version=version,
description='OneGov ballot results website used on election day.',
long_description=get_long_description(),
url='http://github.com/onegov/onegov.election_day',
author='Seantis GmbH',
author_email='[email protected]',
license='GPLv2',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=name.split('.')[:-1],
include_package_data=True,
zip_safe=False,
platforms='any',
python_requires='>=3.6',
install_requires=[
'arrow>=0.8.0',
'babel>=2.6.0',
'cached_property',
'cssmin',
'onegov.core>=0.79.1',
'onegov.ballot>=3.9.0',
'onegov.form>=0.37.0',
'onegov.foundation>=0.0.4',
'onegov.pdf>=0.2.0',
'onegov.shared>=0.2.0',
'onegov.user>=0.17.1',
'pyyaml',
'requests',
'rjsmin'
],
extras_require=dict(
test=[
'coverage',
'freezegun',
'mock',
'onegov_testing',
'pyquery',
'pytest-localserver',
'pytest>=3.0.0',
'webtest',
],
),
entry_points={
'morepath': [
'scan = onegov.election_day'
],
'onegov': [
'upgrade = onegov.election_day.upgrade'
],
'console_scripts': [
'onegov-election-day=onegov.election_day.cli:cli'
]
},
classifiers=[
'Intended Audience :: Developers',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
]
)