-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
72 lines (65 loc) · 2.05 KB
/
Copy pathsetup.py
File metadata and controls
72 lines (65 loc) · 2.05 KB
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
import os
from setuptools import setup
version_file = os.path.abspath(os.path.join("driftconfig", "VERSION"))
with open(version_file) as f:
version = f.readlines()[0].strip()
setup(
name='python-driftconfig',
version=version,
license='MIT',
author='Directive Games',
author_email='info@directivegames.com',
description='Drift Configuration Management.',
packages=['driftconfig'],
url='https://github.com/dgnorth/drift-config',
include_package_data=True,
python_requires=">=3.6",
# the conditional on i.req avoids the error:
# distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('None')
install_requires=[
'click',
'jsonschema',
'jinja2',
'six',
'cachetools',
],
extras_require={
's3-backend': [
'boto3',
],
'redis-backend': [
'redis',
],
'trigger': [
'boto3',
'redis',
'zappa',
],
'test': [
'pytest>=5.0',
'pytest-cov',
]
},
entry_points='''
[console_scripts]
driftconfig=driftconfig.cli:main
dconf=driftconfig.cli:cli
''',
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.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)