A backend script to aid installing Python packages in Gentoo.
Project description
gpep517 is a minimal backend script to aid installing Python packages through PEP 517-compliant build systems. Its main purpose is to supplement Gentoo eclasses with the necessary Python code.
Commands
gpep517 implements three commands:
get-backend to read build-backend from pyproject.toml.
build-wheel to call the respeective PEP 517 backend in order to produce a wheel.
install-wheel to install the wheel into specified directory.
Dependencies
gpep517 aims to minimize the dependency footprint to ease boostrap. At the moment, it depends on two packages:
Example
Example use (without error handling):
backend=$(gpep517 get-backend)
mkdir -p build
wheel_name=$(
gpep517 build-wheel --output-fd 3 --wheel-dir dist \
--backend "${backend:-setuptools.build_meta:__legacy__}" \
3>&1 >&2
)
gpep517 install-wheel --destdir install "dist/${wheel_name}"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file gpep517-1-py3-none-any.whl
.
File metadata
- Download URL: gpep517-1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d65b024a17753842a985896d5da93558415a187a73c5eb19489955b8c66d0f59 |
|
MD5 | 1510adfdf024ac0e52ff54b7d82d5528 |
|
BLAKE2b-256 | 4c7fb9f45a6ab2a9846d6999791e99e6425d6d30cf01b4ca71051577ae1afadb |