Skip to content

Commit cdeb753

Browse files
committed
Update setup.py: Change development status from mature to alpha, add Flask framework, add Python 3.7
1 parent 16da499 commit cdeb753

File tree

1 file changed

+24
-7
lines changed

1 file changed

+24
-7
lines changed

setup.py

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,23 @@
1414
else:
1515
long_description = ''
1616

17-
# parse_requirements() returns generator of pip.req.InstallRequirement objects
18-
with open('requirements.txt') as f:
19-
required = [lib for lib in f.read().splitlines() if not lib.startswith("-e")]
17+
install_requires = [
18+
'flask<1.1,>=1.0.2',
19+
'anyconfig<1.0.0,>=0.9.7',
20+
'python-json-logger<0.2.0,>=0.1.10',
21+
'connexion[swagger-ui]<2.2.0,>=2.1.0',
22+
'Flask-OpenTracing<0.3.0,>=0.2.0',
23+
'jaeger-client<3.13.0,>=3.12.0'
24+
]
25+
26+
tests_require = [
27+
'coverage<4.6.0,>=4.5.2',
28+
'mock<2.1.0,>=2.0.0',
29+
'nose<1.4.0,>=1.3.7',
30+
'pylint<2.3.0,>=2.2.2',
31+
'tox<3.7.0>=3.6.0',
32+
'requests_mock<1.6.0,>=1.5.2'
33+
]
2034

2135
setup(
2236
name="py-ms",
@@ -26,18 +40,21 @@
2640
description="",
2741
long_description=long_description,
2842
classifiers=[
29-
'Development Status :: 6 - Mature',
43+
'Development Status :: 3 - Alpha',
44+
'Framework :: Flask',
3045
"Intended Audience :: Developers",
3146
"Natural Language :: English",
3247
"Programming Language :: Python :: 3.6",
48+
"Programming Language :: Python :: 3.7",
3349
],
34-
license="Proprietary",
50+
license="License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
3551
platforms=["any"],
3652
keywords="",
3753
url='',
3854
test_suite='nose.collector',
3955
packages=find_packages(),
40-
install_requires=required,
56+
install_requires=install_requires,
57+
tests_require=tests_require,
4158
include_package_data=True,
4259
zip_safe=True,
43-
)
60+
)

0 commit comments

Comments
 (0)