Skip to content

Commit

Permalink
Do not patch rpaths anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
metab0t authored Jun 11, 2024
1 parent 03ad7fe commit 3ae4036
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ def patch_rpath(executable_path: str):
shutil.move(lib64dir, os.path.join(temp_dir, dist_name, "lib"))

# patch rpath
if os.name != "nt":
executable_path = os.path.join(temp_dir, dist_name, "bin", "highs")
patch_rpath(executable_path)
# if os.name != "nt":
# executable_path = os.path.join(temp_dir, dist_name, "bin", "highs")
# patch_rpath(executable_path)

for fname in ["__init__.py", "__main__.py"]:
shutil.copy2(
Expand Down

0 comments on commit 3ae4036

Please sign in to comment.