Skip to content

Commit 051b917

Browse files
committed
python bindings: update version and fix name
The python packaging guidelines mean that we should call the PyPI package "pathrs" since you do "import pathrs". And we forgot to update the version in the 0.1.0 update. Signed-off-by: Aleksa Sarai <[email protected]>
1 parent 2b939ad commit 051b917

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

contrib/bindings/python/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ dist: $(SRC_FILES)
2424

2525
.PHONY: clean
2626
clean:
27-
rm -rf dist/ libpathrs.egg-info/
27+
rm -rf dist/ pathrs.*-info/ pathrs/__pycache__/
2828

2929
.PHONY: install
3030
install: dist
31-
$(PIP) install dist/libpathrs*.whl
31+
$(PIP) install dist/pathrs*.whl

contrib/bindings/python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ requires = [
2424
build-backend = "setuptools.build_meta"
2525

2626
[project]
27-
name = "libpathrs"
27+
name = "pathrs"
2828
# TODO: Figure out a way to keep this version up-to-date with Cargo.toml.
29-
version = "0.0.2"
29+
version = "0.1.0"
3030
description = "Python bindings for libpathrs, a safe path resolution library for Linux."
3131
keywords = ["libpathrs", "pathrs"]
3232
license = { file = "COPYING.APACHE-2.0" }

0 commit comments

Comments
 (0)