-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
86 lines (78 loc) · 2.3 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
import os
from setuptools import setup, find_packages
version_file = os.path.abspath(os.path.join("drift", "VERSION"))
with open(version_file) as f:
version = f.readlines()[0].strip()
setup(
name='python-drift',
version=version,
license='MIT',
author='Directive Games',
author_email='[email protected]',
description='Micro-framework for SOA based applications',
packages=find_packages(),
url="https://github.com/dgnorth/drift",
include_package_data=True,
scripts=[
'scripts/drift-admin.py',
'scripts/sls-deploy.py',
],
entry_points={'console_scripts': [
'drift-admin = drift.management:execute_cmd',
]},
install_requires=[
'python-driftconfig',
'Flask<2.0',
'flask-smorest>=0.29.0,<0.31.0',
'flask_marshmallow',
'jsonschema',
'pyopenssl>=17',
'click', # explicit requirement on the click library for echo and cmdlinge
# Python 3 compatibility
'six',
# Resource module dependencies
'SQLAlchemy',
'Flask-SQLAlchemy',
'marshmallow-sqlalchemy',
'alembic',
'psycopg2-binary>=2.7.4',
'redis',
'cryptography',
'PyJWT>=2',
'logstash_formatter',
'sentry-sdk[flask]',
'blinker',
'pytz',
],
extras_require={
'aws': [
'boto3',
'paramiko',
'fabric>=2.0',
'pyyaml',
],
'test': [
'pytest>=5.0',
'pytest-cov',
'codecov',
'requests',
'responses',
],
},
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Flask',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)