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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gpep517-8.tar.gz.
File metadata
- Download URL: gpep517-8.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0b4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2994b1925a7f96a5f35ba01e91d7c83b203d48ea757019361737019b13c204d9
|
|
| MD5 |
25ed90742319b1a95b2bbf44e899a2c9
|
|
| BLAKE2b-256 |
6703264f13a85c72d83ceab043b6e0dd324ccfbf1038d5174ffe560a9a8a45e0
|
File details
Details for the file gpep517-8-py3-none-any.whl.
File metadata
- Download URL: gpep517-8-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0b4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57188f16ab26e9ae4718df0bc52330e7b63b0c685e2c9400702ad90dc1a1dd90
|
|
| MD5 |
891eb70e3bfe19ff71001c531e9b8373
|
|
| BLAKE2b-256 |
8d229e97e9efbeae27df339630c268ec3718b227c70da87eae8141325d7c53f9
|