-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
118 lines (112 loc) · 4.06 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
import os
from setuptools import setup, find_packages
version = "2.5.81"
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.md")) as f:
README = f.read()
requires = [
"pyramid<1.8.0",
"schematics<2.0.0",
"WebOb<=1.6.9",
"cornice==1.2.0.dev0",
"couchdb-schematics",
"barbecue",
"chaussette",
"gevent",
"iso8601",
"isodate",
"jsonpatch",
"jmespath",
"libnacl",
"pbkdf2",
"pycrypto",
"pyramid_exclog",
"requests",
"rfc6266",
"setuptools",
"tzlocal",
"zope.component",
"zope.configuration",
"esculator",
"dateorro>=0.0.2",
"configparser",
"sentry-sdk",
]
tests_requires = requires + [
"pytest",
"webtest",
"python-coveralls",
"mock",
"freezegun",
"parameterized",
]
entry_points = {
"paste.app_factory": [
"main = openprocurement.api.app:main"
],
"openprocurement.api.plugins": [
"api = openprocurement.api.includeme:includeme",
"tender.core = openprocurement.tender.core.includeme:includeme",
"planning.api = openprocurement.planning.api.includeme:includeme",
"contracting.api = openprocurement.contracting.api.includeme:includeme",
"agreement.core = openprocurement.agreement.core.includeme:includeme",
"historical.core = openprocurement.historical.core.includeme:includeme",
"relocation.api = openprocurement.relocation.api.includeme:includeme"
],
"openprocurement.tender.core.plugins": [
"tender.belowthreshold = openprocurement.tender.belowthreshold.includeme:includeme",
"tender.openua = openprocurement.tender.openua.includeme:includeme",
"tender.openeu = openprocurement.tender.openeu.includeme:includeme",
"tender.openuadefense = openprocurement.tender.openuadefense.includeme:includeme",
"tender.limited.reporting = openprocurement.tender.limited.includeme:includeme",
"tender.limited.negotiation = openprocurement.tender.limited.includeme:includeme_negotiation",
"tender.limited.negotiation.quick = openprocurement.tender.limited.includeme:includeme_negotiation_quick",
"tender.competitivedialogue = openprocurement.tender.competitivedialogue.includeme:includeme",
"tender.esco = openprocurement.tender.esco.includeme:includeme",
"tender.cfaua = openprocurement.tender.cfaua.includeme:includeme",
"tender.cfaselectionua = openprocurement.tender.cfaselectionua.includeme:includeme",
],
"openprocurement.agreements.core.plugins": [
"agreement.cfaua = openprocurement.agreement.cfaua.includeme:includeme"
],
"openprocurement.historical.core.plugins": [
"historical.tender = openprocurement.historical.tender.includeme:includeme",
],
"openprocurement.api.migrations": [
"tenders = openprocurement.api.migration:migrate_data",
"contracts = openprocurement.contracting.api.migration:migrate_data",
"plans = openprocurement.planning.api.migration:migrate_data",
],
"console_scripts": [
"bootstrap_api_security = openprocurement.api.database:bootstrap_api_security"
]
}
setup(
name="openprocurement.api",
version=version,
description="openprocurement.api",
long_description=README,
classifiers=[
"Framework :: Pylons",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application"
],
keywords="web services",
author="Quintagroup, Ltd.",
author_email="[email protected]",
license="Apache License 2.0",
url="https://github.com/ProzorroUKR/openprocurement.api",
package_dir={"": "src"},
py_modules=["cgi"],
packages=find_packages("src"),
namespace_packages=["openprocurement"],
include_package_data=True,
zip_safe=False,
install_requires=requires,
setup_requires=["pytest-runner"],
tests_require=tests_requires,
extras_require={"test": tests_requires},
entry_points=entry_points,
)