-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (51 loc) · 1.42 KB
/
setup.py
File metadata and controls
56 lines (51 loc) · 1.42 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
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="tore@statsig.com, jkw@statsig.com",
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",
"typing-extensions",
"brotli",
],
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",
)