-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
65 lines (58 loc) · 1.63 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
65
"""Setup for imitation: a reward and imitation learning library."""
from setuptools import find_packages, setup
import pacman # pytype: disable=import-error
TESTS_REQUIRE = [
"coverage",
"codecov",
"flake8",
"pytest",
"pytest-cov",
]
DOCS_REQUIRE = [
"sphinx",
"sphinx-autodoc-typehints",
"sphinx-rtd-theme",
"sphinxcontrib-napoleon",
]
def get_readme() -> str:
"""Retrieve content from README."""
with open("README.md") as f:
return f.read()
setup(
name="pacman",
version=pacman.__version__,
description="Several dcop algo implementation.",
long_description=get_readme(),
long_description_content_type="text/markdown",
author="Chufan Chen",
python_requires=">=3.7.0",
packages=find_packages(),
install_requires=[
"pulp",
"numpy",
"networkx",
"pyyaml",
"requests",
"websocket-server",
"tqdm",
"matplotlib"
],
tests_require=TESTS_REQUIRE,
extras_require={
"test": TESTS_REQUIRE,
"docs": DOCS_REQUIRE,
},
url="https://github.com/chufansuki/pacman",
license="MIT",
classifiers=[
# Trove classifiers
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
)