Skip to content

Commit

Permalink
Weird logic to remove duplicated "Rtree.libs" dir no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtoews committed Jun 11, 2024
1 parent 0481075 commit 8099bcf
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/repair_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ def main():
break
else:
raise RuntimeError("subdirectory not found")
if os_ == "linux":
# remove duplicated dir
assert len(list((unpackdir / "Rtree.libs").glob("*.so*"))) >= 1
lib_dir = unpackdir / "rtree" / "lib"
shutil.rmtree(lib_dir)
# re-pack
subprocess.run(["wheel", "pack", str(unpackdir.name)], cwd=tmpdir, check=True)
files = list(tmpdir.glob("*.whl"))
Expand Down

0 comments on commit 8099bcf

Please sign in to comment.