-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
41 lines (36 loc) · 1.17 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
from setuptools import find_packages, setup
def _read_requirements_file(path: str):
with open(path) as f:
return list(
map(
lambda req: req.strip(),
f.readlines(),
)
)
with open("README.md") as f:
long_description = f.read()
setup(
name="tw-experimentation",
version="0.1.0",
description="An experimentation platform for AB Testing",
long_description=long_description,
long_description_content_type="text/markdown",
author="Wise",
url="https://github.com/transferwise/tw-experimentation",
classifiers=[
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
install_requires=_read_requirements_file("envs/requirements.txt"),
extras_require={
"test": _read_requirements_file("envs/requirements-dev.txt"),
},
packages=find_packages(
include=["tw_experimentation", "tw_experimentation.*"],
exclude=["tests*"],
),
include_package_data=True,
keywords="tw-experimentation",
)