mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 18:44:07 +08:00
Use pickle by default for serialization (#5978)
This commit is contained in:
+8
-1
@@ -102,7 +102,14 @@ class build_ext(_build_ext.build_ext):
|
||||
for name in filenames:
|
||||
pyarrow_files.append(os.path.join(root, name))
|
||||
|
||||
files_to_include = ray_files + pyarrow_files
|
||||
# We also need to install pickle5 along with Ray, so make sure that the
|
||||
# relevant non-Python pickle5 files get copied.
|
||||
pickle5_files = []
|
||||
for (root, dirs, filenames) in os.walk("./ray/pickle5_files/pickle5"):
|
||||
for name in filenames:
|
||||
pickle5_files.append(os.path.join(root, name))
|
||||
|
||||
files_to_include = ray_files + pyarrow_files + pickle5_files
|
||||
|
||||
# Copy over the autogenerated protobuf Python bindings.
|
||||
for directory in generated_python_directories:
|
||||
|
||||
Reference in New Issue
Block a user