Skip to main content

gpep517

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:

  1. get-backend to read build-backend from pyproject.toml.

  2. build-wheel to call the respeective PEP 517 backend in order to produce a wheel.

  3. 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:

  1. tomli for TOML parsing in Python < 3.11

  2. installer for wheel installation

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}"

Metadata

Release files for gpep517 6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gpep517 6
File Size Uploaded Provenance Actions
gpep517-6.tar.gz 10.3 kB Without provenance Details for gpep517-6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gpep517 6
File Interpreter ABI Platform Actions
gpep517-6-py3-none-any.whl Python 3 none any Details for gpep517-6-py3-none-any.whl

Total release size: 15.3 kB

Release files / gpep517-6.tar.gz

Download URL gpep517-6.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3452338bde9d6550bc97c8d3d257f228396e69f5e87de475a8ac5b6f4819eeba
BLAKE2b-256 checksum
How to use checksums
897d8c165fa3cce78b57b13e21652bc4d55d503fe2fe76982f55c84730d3d9cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0b3

Release files / gpep517-6-py3-none-any.whl

Download URL gpep517-6-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8d8bbc406dd466e194414a21364cde18b534d877c2cd79a8f5e84d1b2f1e203
BLAKE2b-256 checksum
How to use checksums
9759f500521d84fa0deaebbd2ae9ebbc2f623d6b99bbd7a9fe202220ea6d17d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.0b3

Security for gpep517 6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page