mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 17:24:39 +08:00
Make Bazel the default build system (#3898)
This commit is contained in:
committed by
Robert Nishihara
parent
9b3ce3e64b
commit
ba52caff37
+6
-3
@@ -64,7 +64,9 @@ else:
|
||||
optional_ray_files += ray_autoscaler_files
|
||||
|
||||
extras = {
|
||||
"rllib": ["pyyaml", "gym[atari]", "opencv-python", "lz4", "scipy"],
|
||||
"rllib": [
|
||||
"pyyaml", "gym[atari]", "opencv-python-headless", "lz4", "scipy"
|
||||
],
|
||||
"debug": ["psutil", "setproctitle", "py-spy"],
|
||||
"dashboard": ["psutil", "aiohttp"],
|
||||
}
|
||||
@@ -120,8 +122,9 @@ class build_ext(_build_ext.build_ext):
|
||||
parent_directory = os.path.dirname(destination)
|
||||
if not os.path.exists(parent_directory):
|
||||
os.makedirs(parent_directory)
|
||||
print("Copying {} to {}.".format(source, destination))
|
||||
shutil.copy(source, destination)
|
||||
if not os.path.exists(destination):
|
||||
print("Copying {} to {}.".format(source, destination))
|
||||
shutil.copy(source, destination)
|
||||
|
||||
|
||||
class BinaryDistribution(Distribution):
|
||||
|
||||
Reference in New Issue
Block a user