-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
50 lines (47 loc) · 1.61 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
from setuptools import setup, find_packages
# PLEASE DO NOT EDIT THIS, MANAGED FOR CI PURPOSES
__QUALIFIER__ = ""
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="microcosm_connexion",
version="1.1.0" + __QUALIFIER__,
description="A python library that exposes microcosm factories for connexions",
long_description=long_description,
long_description_content_type="text/markdown",
author="Srikalyan Swayampakula",
author_email="[email protected]",
url="https://github.com/srikalyan/microcosm-connexion",
packages=find_packages(exclude=["*.tests"]),
test_suite="microcosm_connexion.tests",
setup_requires=[
"pytest-runner",
],
install_requires=[
"connexion[swagger-ui]>=2.4.0,<3",
"inflection>=0.3.1,<1",
"microcosm>=2,<3",
"microcosm-flask>=2.2.0,<3",
"microcosm-logging>=1.6.0,<2.0.0",
],
extras_require={
"postgres": [
"microcosm-postgres>=1.17.0,<2.0.0",
]
},
tests_require=[
"mock",
"pyhamcrest",
"pytest",
"pytest-cov",
],
entry_points={
"console_scripts": [],
"microcosm.factories": [
"connexion = microcosm_connexion.factories:configure_connexion",
"postgres_session_factory = microcosm_connexion.factories:configure_postgres_session_factory",
"connexion_error_handler = microcosm_connexion.factories:connexion_error_handler",
"configure_connexion_error_handler = microcosm_connexion.factories:configure_connexion_error_handler",
],
},
)