-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
50 lines (45 loc) · 1.36 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
import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'statsig', 'version.py'), encoding='utf-8') as f:
exec(f.read())
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.md'), encoding='utf-8') as r:
README = r.read()
test_deps = [
'requests',
'user_agents',
'semver'
]
extras = {
'test': test_deps,
}
setup(
name='statsig',
# pylint: disable=undefined-variable
version=__version__, # type: ignore
description='Statsig Python Server SDK',
long_description=README,
long_description_content_type="text/markdown",
author='Tore Hanssen, Jiakan Wang',
author_email='[email protected], [email protected]',
url='https://github.com/statsig-io/python-sdk',
license='ISC',
classifiers=[
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries'
],
install_requires=[
'requests',
'ua_parser',
'ip3country',
'grpcio',
'protobuf',
'ijson',
],
tests_require=test_deps,
extras_require=extras,
include_package_data=True,
packages=find_packages(include=['statsig', 'statsig.grpc', 'statsig.grpc.generated']),
python_requires='>=3.7',
)