mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
copy all files when installing pyarrow (#2547)
This commit is contained in:
parent
5e59cc6a20
commit
d5dda1ebf2
1 changed files with 4 additions and 6 deletions
|
@ -77,12 +77,10 @@ class build_ext(_build_ext.build_ext):
|
|||
|
||||
# We also need to install pyarrow along with Ray, so make sure that the
|
||||
# relevant non-Python pyarrow files get copied.
|
||||
pyarrow_files = [
|
||||
os.path.join("ray/pyarrow_files/pyarrow", filename)
|
||||
for filename in os.listdir("./ray/pyarrow_files/pyarrow")
|
||||
if not os.path.isdir(
|
||||
os.path.join("ray/pyarrow_files/pyarrow", filename))
|
||||
]
|
||||
pyarrow_files = []
|
||||
for (root, dirs, filenames) in os.walk("./ray/pyarrow_files/pyarrow"):
|
||||
for name in filenames:
|
||||
pyarrow_files.append(os.path.join(root, name))
|
||||
|
||||
files_to_include = ray_files + pyarrow_files
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue