forked from splitio/python-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (52 loc) · 1.65 KB
/
Copy pathsetup.py
File metadata and controls
56 lines (52 loc) · 1.65 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
"""Setup module."""
#!/usr/bin/env python
from setuptools import setup, find_packages
from os import path
tests_require = [
'flake8',
'pytest',
'pytest-mock',
'coverage',
'pytest-cov',
'mock;python_version<"3"'
]
install_requires = [
'requests>=2.9.1',
'pyyaml>=5.1',
'future>=0.15.2',
'docopt>=0.6.2',
'enum34;python_version<"3.4"',
'six>=1.10.0;python_version<"3"',
'futures>=3.0.5;python_version<"3"'
]
with open(path.join(path.abspath(path.dirname(__file__)),
'splitio', 'version.py')) as f:
exec(f.read())
setup(name='splitio_client',
version=__version__, # noqa
description='Split.io Python Client',
author='Patricio Echague, Sebastian Arrubia',
url='https://github.com/splitio/python-client',
download_url=('https://github.com/splitio/python-client/tarball/' +
__version__),
license='Apache License 2.0',
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'test': tests_require,
'redis': ['redis>=2.10.5'],
'uwsgi': ['uwsgi>=2.0.0'],
'cpphash': ['mmh3cffi>=0.1.4']
},
setup_requires=['pytest-runner'],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries'
],
packages=find_packages())