|
1 | 1 | """Setup module.""" |
2 | | -#!/usr/bin/env python |
| 2 | +# !/usr/bin/env python |
3 | 3 |
|
4 | 4 | from os import path |
5 | 5 | from setuptools import setup, find_packages |
6 | 6 |
|
7 | 7 | TESTS_REQUIRES = [ |
8 | 8 | 'flake8', |
9 | | - 'pytest<=4.6', # for deprecated python versions: https://docs.pytest.org/en/latest/py27-py34-deprecation.html |
10 | | - 'pytest-mock==2.0.0', |
| 9 | + 'pytest>=6.2.3', |
| 10 | + 'pytest-mock>=3.5.1', |
11 | 11 | 'coverage', |
12 | 12 | 'pytest-cov', |
13 | | - 'mock;python_version<"3"' |
14 | 13 | ] |
15 | 14 |
|
16 | 15 | INSTALL_REQUIRES = [ |
17 | 16 | 'requests>=2.9.1', |
18 | 17 | 'pyyaml>=5.1', |
19 | | - 'future>=0.15.2', |
20 | 18 | 'docopt>=0.6.2', |
21 | | - 'six>=1.10.0', |
22 | 19 | 'enum34;python_version<"3.4"', |
23 | | - 'futures>=3.0.5;python_version<"3"' |
24 | 20 | ] |
25 | 21 |
|
26 | 22 | with open(path.join(path.abspath(path.dirname(__file__)), 'splitio', 'version.py')) as f: |
27 | 23 | exec(f.read()) # pylint: disable=exec-used |
28 | 24 |
|
29 | 25 | setup( |
30 | 26 | name='splitio_client', |
31 | | - version=__version__, # pylint: disable=undefined-variable |
| 27 | + version=__version__, # pylint: disable=undefined-variable |
32 | 28 | description='Split.io Python Client', |
33 | 29 | author='Patricio Echague, Sebastian Arrubia', |
34 | 30 | author_email='pato@split.io, sebastian@split.io', |
35 | 31 | url='https://github.com/splitio/python-client', |
36 | | - download_url=('https://github.com/splitio/python-client/tarball/' + __version__), # pylint: disable=undefined-variable |
| 32 | + download_url=('https://github.com/splitio/python-client/tarball/' + __version__), # pylint: disable=undefined-variable |
37 | 33 | license='Apache License 2.0', |
38 | 34 | install_requires=INSTALL_REQUIRES, |
39 | 35 | tests_require=TESTS_REQUIRES, |
40 | 36 | extras_require={ |
41 | 37 | 'test': TESTS_REQUIRES, |
42 | 38 | 'redis': ['redis>=2.10.5'], |
43 | 39 | 'uwsgi': ['uwsgi>=2.0.0'], |
44 | | - 'cpphash': ['mmh3cffi==0.2.0'], |
| 40 | + 'cpphash': ['mmh3cffi==0.2.1'], |
45 | 41 | }, |
46 | 42 | setup_requires=['pytest-runner'], |
47 | 43 | classifiers=[ |
|
0 commit comments