packaging for pypi

This commit is contained in:
Christoph J. Scherr 2023-07-09 21:41:39 +02:00
parent 0e680d779f
commit 7b2e431bb9
Signed by: PlexSheep
GPG Key ID: 25B4ACF7D88186CC
2 changed files with 12 additions and 0 deletions

View File

@ -25,6 +25,11 @@ If you want to use the python variant too, you need to compile with maturing.
- Install in `venv`: `maturin develop --release`
- Install in system: `maturin build --release && pip install target/wheels/libpt-x.x.x-*`
## Installing from [pypi](https://pypi.org)
`libpt` has been packaged for [pypi.org](https://pypi.org/project/libpt/).
You can install it with `pip install libpt`
## Installing from [crates.io](https://crates.io)
`libpt` has been packaged for [crates.io](https://crates.io/crates/libpt).

View File

@ -4,13 +4,20 @@ build-backend = "maturin"
[project]
name = "libpt"
readme = "README.md"
requires-python = ">=3.7"
authors = [{ name = "Christoph J. Scherr", email = "software@cscherr.de" }]
license = { file = "LICENSE" }
keywords = ["pyo3"]
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
[project.urls]
Homepage = "https://git.cscherr.de/PlexSheep/pt"
[tool.maturin]
features = ["pyo3/extension-module"]