diff options
Diffstat (limited to 'hittekaart-py')
| -rw-r--r-- | hittekaart-py/Cargo.toml | 4 | ||||
| -rw-r--r-- | hittekaart-py/PUBLISH | 14 | ||||
| -rw-r--r-- | hittekaart-py/pyproject.toml | 13 |
3 files changed, 29 insertions, 2 deletions
diff --git a/hittekaart-py/Cargo.toml b/hittekaart-py/Cargo.toml index d83ff3d..f598178 100644 --- a/hittekaart-py/Cargo.toml +++ b/hittekaart-py/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hittekaart-py" -version = "0.2.0" +version = "0.2.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -10,5 +10,5 @@ crate-type = ["cdylib"] [dependencies] pyo3 = "0.29.1" -hittekaart = { path = "../hittekaart" } +hittekaart = { path = "../hittekaart", features = ["bundled"] } rayon = "1.10.0" diff --git a/hittekaart-py/PUBLISH b/hittekaart-py/PUBLISH new file mode 100644 index 0000000..89cf63c --- /dev/null +++ b/hittekaart-py/PUBLISH @@ -0,0 +1,14 @@ +Build source dist: + + maturin sdist + +Build wheels (Python 3.14, Python 3.13): + + cd .. + podman run --rm -v $(pwd):/io -w /io/hittekaart-py ghcr.io/pyo3/maturin build --release --compatibility pypi -i python3.14 + podman run --rm -v $(pwd):/io -w /io/hittekaart-py ghcr.io/pyo3/maturin build --release --compatibility pypi -i python3.13 + +Upload: + + cd ../target/wheels + twine upload * diff --git a/hittekaart-py/pyproject.toml b/hittekaart-py/pyproject.toml index 865cc21..aa64ece 100644 --- a/hittekaart-py/pyproject.toml +++ b/hittekaart-py/pyproject.toml @@ -5,11 +5,24 @@ build-backend = "maturin" [project] name = "hittekaart-py" requires-python = ">=3.8" +readme = "../README.adoc" +license = {file = "../LICENSE"} +authors = [ + { name = "Daniel Schadt", email = "fietsboek@kingdread.de" }, +] classifiers = [ + "Development Status :: 4 - Beta", + "Topic :: Software Development :: Libraries", "Programming Language :: Rust", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] dynamic = ["version"] + +[project.urls] +homepage = "https://fietsboek.org/hittekaart/" +documentation = "https://docs.fietsboek.org/developer/module/hittekaart_py.html" +repository = "https://gitlab.com/dunj3/hittekaart" + [tool.maturin] features = ["pyo3/extension-module"] |
