[rllib] Introduce pip install rllib (#1310)

* update setup

* more dependencies
This commit is contained in:
Richard Liaw
2017-12-12 13:58:28 -08:00
committed by Philipp Moritz
parent b1d89026cd
commit b6a35e0395
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -40,6 +40,10 @@ if "INCLUDE_UI" in os.environ and os.environ["INCLUDE_UI"] == "1":
else:
optional_ray_files += ray_ui_files
extras = {
"rllib": ["tensorflow", "pyyaml", "gym[atari]", "opencv-python", "scipy"]
}
class build_ext(_build_ext.build_ext):
def run(self):
@@ -114,6 +118,7 @@ setup(name="ray",
"six >= 1.0.0",
"flatbuffers"],
setup_requires=["cython >= 0.23"],
extras_require=extras,
entry_points={"console_scripts": ["ray=ray.scripts.scripts:main"]},
include_package_data=True,
zip_safe=False,