-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
88 lines (77 loc) · 2.39 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
import pathlib
import setuptools
_here = pathlib.Path(__file__).resolve().parent
name = "ModeRL"
author = "Aidan Scannell"
author_email = "[email protected]"
description = (
"Mode constrained model-based-reinforcement learning in TensorFlow/GPflow."
)
with open(_here / "README.md", "r") as f:
readme = f.read()
url = "https://github.com/aidanscannell/" + name
license = "Apache-2.0"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
]
keywords = [
"model-based-reinforcement-learning",
"mixtures-of-gaussian-process-experts",
"gaussian-processes",
"machine-learning",
"variational-inference",
"bayesian-inference",
"constrained-reinforcement-learning",
"planning",
]
python_requires = "~=3.7"
install_requires = [
"gpflow>=2.6.1",
"numpy",
"tensorflow-probability",
"tensorflow>=2.4.0; platform_system!='Darwin' or platform_machine!='arm64'",
"tensorflow-macos>=2.4.0; platform_system=='Darwin' and platform_machine=='arm64'",
"tensor_annotations==1.0.2",
f"mosvgpe @ file://{_here}/subtrees/mosvgpe",
f"simenvs @ file://{_here}/subtrees/simenvs",
"wandb",
]
extras_require = {
"experiments": [
"hydra-core",
"palettable",
"tikzplotlib",
"hydra-submitit-launcher",
],
"examples": ["jupyter", "hydra-core"],
"dev": ["black[jupyter]", "pre-commit", "pyright", "isort", "pyflakes", "pytest"],
}
setuptools.setup(
name=name,
version="0.1.0",
author=author,
author_email=author_email,
maintainer=author,
maintainer_email=author_email,
description=description,
keywords=keywords,
long_description=readme,
long_description_content_type="text/markdown",
url=url,
license=license,
classifiers=classifiers,
zip_safe=False,
python_requires=python_requires,
install_requires=install_requires,
extras_require=extras_require,
packages=setuptools.find_packages(exclude=["examples"]),
)