Skip to content

Commit

Permalink
BLD: Update setup.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
MilanSkocic committed Jun 17, 2024
1 parent 4f8f11b commit 0d68cea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
print(f"copying {str(src):s} -> {str(dest.parent):s}.")
shutil.copy(src, dest)
if platform.system() == "Darwin":
print(cmd)
print(f"changing rpath for {str(file):s}")
subprocess.check_call(cmd)
except subprocess.CalledProcessError:
print(" ".join(cmd) + " was not successful.")
Expand All @@ -94,6 +94,7 @@
if platform.system() == "Darwin":
cmd = ["otool", "-L", f"./src/py{name:s}/lib{name:s}{ext[0]:s}"]
try:
print(f"checking rpaths")
subprocess.check_call(cmd)
except subprocess.CalledProcessError:
print(" ".join(cmd) + " was not successful.")
Expand Down

0 comments on commit 0d68cea

Please sign in to comment.