-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
68 lines (66 loc) · 1.65 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
from setuptools import setup
NAME = 'reports'
VERSION = '1.0.6'
AUTHOR = 'Quintagroup, Ltd.'
LICENSE = 'Apache License 2.0'
REQUIRES = [
'couchdb',
'dateparser',
'pbkdf2',
'requests',
'gevent',
'requests_cache',
'pytz',
'iso8601',
'pyminizip',
'arrow',
'boto3',
'Jinja2',
'systemd-python',
'PyYaml',
'ExtendedJournalHandler==1.0.0',
'repoze.lru',
'hvac',
'retrying'
]
EXTRA = REQUIRES + ['python-swiftclient', 'python-keystoneclient']
TEST_REQUIRES = REQUIRES + [
'mock'
]
setup(
name=NAME,
version=VERSION,
packages=[
'reports',
],
author=AUTHOR,
author_email='[email protected]',
license=LICENSE,
url='https://github.com/openprocurement/reports',
entry_points={
'console_scripts': [
'bids = reports.utilities.bids:run',
'tenders = reports.utilities.tenders:run',
'refunds = reports.utilities.refunds:run',
'invoices = reports.utilities.invoices:run',
'init = reports.utilities.init:run',
'zip = reports.utilities.zip:run',
'send = reports.utilities.send:run',
'generate = reports.generate:run'
],
'billing.storages': [
's3 = reports.storages:S3Storage',
'memory = reports.storages:MemoryStorage',
'swift = reports.storages:SwiftStorage[swift]'
]
},
include_package_data=True,
zip_safe=False,
install_requires=REQUIRES,
tests_require=TEST_REQUIRES,
test_suite='reports.tests.main.suite',
extras_require={
'test': TEST_REQUIRES,
'swift': EXTRA
},
)