Skip to content

Commit

Permalink
copy all files when installing pyarrow (ray-project#2547)
Browse files Browse the repository at this point in the history
  • Loading branch information
pcmoritz authored and robertnishihara committed Aug 3, 2018
1 parent 5e59cc6 commit d5dda1e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,10 @@ def run(self):

# 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

Expand Down

0 comments on commit d5dda1e

Please sign in to comment.