-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·85 lines (69 loc) · 1.91 KB
/
setup.py
File metadata and controls
executable file
·85 lines (69 loc) · 1.91 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
73
74
75
76
77
78
79
80
81
82
83
84
#!/usr/bin/env python
"""
flask-consulate
-------------
flask extension that provides an interface to consul via a flask.app
"""
import sys
from setuptools import setup, find_packages
# Dependencies:
if sys.version_info[0] == 2:
dnspython = 'dnspython'
elif sys.version_info[0] == 3:
dnspython = 'dnspython3'
else:
raise ValueError('Unsupported python version')
INSTALL_REQUIRES = [
'consulate',
'Flask',
'requests>=2.7.0',
'six',
dnspython,
]
TESTS_REQUIRE = [
'httpretty',
'mock',
'coveralls',
'coverage',
'pytest',
]
SETUP_REQUIRES = [
'pytest-runner',
]
setup(
name='flask-consulate',
version='0.2.0',
url='http://github.com/vsudilov/flask-consulate',
license='MIT',
author='Vladimir Sudilovsky',
author_email='vsudilovsky@gmail.com',
description='flask extension that provides an interface to consul via a flask app',
long_description=__doc__,
packages=find_packages(),
zip_safe=False,
include_package_data=True,
platforms='any',
setup_requires=SETUP_REQUIRES,
install_requires=INSTALL_REQUIRES,
tests_require=TESTS_REQUIRE,
extras_require={
'test': TESTS_REQUIRE,
},
test_suite='tests',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)