-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.py
63 lines (58 loc) · 1.9 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
"""Setup module."""
# !/usr/bin/env python
from os import path
from setuptools import setup, find_packages
TESTS_REQUIRES = [
'flake8',
'pytest==7.0.1',
'pytest-mock==3.11.1',
'coverage',
'pytest-cov==4.1.0',
'importlib-metadata==6.7',
'tomli==1.2.3',
'iniconfig==1.1.1',
'attrs==22.1.0',
'pytest-asyncio==0.21.0',
'aiohttp>=3.8.4',
'aiofiles>=23.1.0',
'requests-kerberos>=0.15.0'
]
INSTALL_REQUIRES = [
'requests',
'pyyaml',
'docopt>=0.6.2',
'enum34;python_version<"3.4"',
'bloom-filter2>=2.0.0'
]
with open(path.join(path.abspath(path.dirname(__file__)), 'splitio', 'version.py')) as f:
exec(f.read()) # pylint: disable=exec-used
setup(
name='splitio_client',
version=__version__, # pylint: disable=undefined-variable
description='Split.io Python Client',
author='Patricio Echague, Sebastian Arrubia',
author_email='pato@split.io, sebastian@split.io',
url='https://github.com/splitio/python-client',
download_url=('https://github.com/splitio/python-client/tarball/' + __version__), # pylint: disable=undefined-variable
license='Apache License 2.0',
install_requires=INSTALL_REQUIRES,
tests_require=TESTS_REQUIRES,
extras_require={
'test': TESTS_REQUIRES,
'redis': ['redis>=2.10.5'],
'uwsgi': ['uwsgi>=2.0.0'],
'cpphash': ['mmh3cffi==0.2.1'],
'asyncio': ['aiohttp>=3.8.4', 'aiofiles>=23.1.0'],
'kerberos': ['requests-kerberos>=0.15.0']
},
setup_requires=['pytest-runner', 'pluggy==1.0.0;python_version<"3.8"'],
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries'
],
packages=find_packages(exclude=('tests', 'tests.*'))
)