70.2. python3-setuptools-rust-1.13.0
Builds a Rust extension from setup.py — how maturin bootstraps itself
1.13.0-1 · MIT · 0.1 SBU · 197.1 KiB, 29 files · 40_lang, 29 of 186 · ports/core/python/python3-setuptools-rust
Homepage: https://github.com/PyO3/setuptools-rust
Why it is in KDOS. The comment above the 3 ports from python3-semantic-version to python3-maturin in script/phases/40_lang/packages.d/python.txt:
maturin is the build backend of python3-cryptography and python3-orjson, and bootstraps itself with setuptools-rust: these three exist only to compile them.
Depends on: python3, python3-setuptools, python3-pip, python3-semantic-version, python3-setuptools-scm, rust.
Required by (2): python3-bcrypt, python3-maturin.
Sources: python3-setuptools-rust-1.13.0.tar.gz (306.7 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/40_lang/phase.env && kpkg install python3-setuptools-rust'
build.sh:
pip3 install --ignore-installed --no-deps --no-index --no-build-isolation --root=$PKG --prefix=/usr .
Directories: /usr/lib/python3.14/site-packages/setuptools_rust, /usr/lib/python3.14/site-packages/setuptools_rust-1.13.0.dist-info, /usr/share/licenses/python3-setuptools-rust.