mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 00:52:45 +08:00
[rllib] Introduce pip install rllib (#1310)
* update setup * more dependencies
This commit is contained in:
committed by
Philipp Moritz
parent
b1d89026cd
commit
b6a35e0395
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user