Skip to content

Commit

Permalink
Rename project to lowercase "rtree" (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtoews authored Mar 3, 2025
1 parent b996392 commit ed38b45
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Rtree.egg-info/
*.egg-info/
*.pyc
docs/build
build/
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "Rtree"
name = "rtree"
authors = [
{name = "Sean Gillies", email = "[email protected]"},
]
Expand Down
2 changes: 1 addition & 1 deletion rtree/finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def load() -> ctypes.CDLL:
if pkg_files is not None:
for file in pkg_files: # type: ignore
if (
file.parent.name == "Rtree.libs"
file.parent.name == "rtree.libs"
and file.stem.startswith("libspatialindex")
and ".so" in file.suffixes
):
Expand Down
4 changes: 2 additions & 2 deletions scripts/repair_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def main():
# use the platform specific repair tool first
if os_ == "linux":
# use path from cibuildwheel which allows auditwheel to create
# Rtree.libs/libspatialindex-*.so.*
# rtree.libs/libspatialindex-*.so.*
cibw_lib_path = "/project/rtree/lib"
if os.environ.get("LD_LIBRARY_PATH"): # append path
os.environ["LD_LIBRARY_PATH"] += f"{os.pathsep}{cibw_lib_path}"
Expand Down Expand Up @@ -96,7 +96,7 @@ def main():

if os_ == "linux":
# This is auditwheel's libs, which needs post-processing
libs_dir = unpackdir / "Rtree.libs"
libs_dir = unpackdir / "rtree.libs"
lsidx_list = list(libs_dir.glob("libspatialindex*.so*"))
assert len(lsidx_list) == 1, list(libs_dir.iterdir())
lsidx = lsidx_list[0]
Expand Down

0 comments on commit ed38b45

Please sign in to comment.