PEP 503 index builder
Project description
Index 503
PEP 503 index builder
Usage
If you have a directory full of wheels like musllinux
:
index-503 musllinux
This will produce a musllinux-index
directory with a PEP 503 index symlinked to the original directory without disturbing the original directory.
Running this again will replace the original index and delete the old index in an atomic manner.
A lock will be held in the parent directory to prevent concurrent executions.
Example
For image builds
pip3 install --no-cache-dir --dry-run --only-binary=:all: --index-url "https://wheels.koston.org/musllinux-index/" -r requirements.txt
For run time installs
pip3 install --no-cache-dir --dry-run --only-binary=:all: --extra-index-url "https://wheels.koston.org/musllinux-index/" -r requirements.txt
Known issues
This only works with pip 23.2 or later due to https://github.com/pypa/pip/issues/12038
Installation
Install this via pip (or your favourite package manager):
pip install index-503
Credits
This package was created with Copier and the browniebroke/pypackage-template project template.
This project borrows heavily from Dominic Davis-Foster's simple503 https://github.com/repo-helper/simple503
Project details
Release history Release notifications | RSS feed
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
Hashes for index_503-2.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 383c01d048515d9c4806314542a4d074df30600a3958706d0354fc285f42ce0c |
|
MD5 | 6127bf149ae4146dac9871f046d28c89 |
|
BLAKE2b-256 | 1593df2dbb52e6f4827de39152ca6a3fd59e830d69762e3ae388d434a402afc8 |