This repository has been archived by the owner on Jan 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
64 lines (52 loc) · 1.68 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
64
#!/usr/bin/env python
import os
import re
from setuptools import setup
INSTALL_REQUIRES = [
"numpy",
"scipy",
"scikit-learn",
"attrs",
"tqdm",
"depq",
"profiled",
"pandas",
]
SETUP_REQUIRES = ["pytest-runner"]
TEST_REQUIRES = ["pytest", "pytest-lazy-fixture"]
DEV_REQUIRES = TEST_REQUIRES + ["sphinx", "sphinx_rtd_theme", "black"]
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.rst")) as f:
long_description = f.read()
with open(os.path.join(here, "trickster/__init__.py")) as f:
matches = re.findall(r"(__.+__) = \"(.*)\"", f.read())
for var_name, var_value in matches:
globals()[var_name] = var_value
setup(
name=__title__,
version=__version__,
description=__description__,
long_description=long_description,
author=__author__,
author_email=__email__,
packages=["trickster"],
license=__license__,
url=__url__,
install_requires=INSTALL_REQUIRES,
setup_requires=SETUP_REQUIRES,
tests_require=TEST_REQUIRES,
extras_require={"dev": DEV_REQUIRES, "test": TEST_REQUIRES},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
],
)