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
If you see Discarding https://wheels.koston.org/musllinux-index/intelhex-2.3.0-py2.py3-none-any.whl#sha256=87cc5225657524ec6361354be928adfd56bcf2a3dcc646c40f8f094c39c07db4 (from https://wheels.koston.org/musllinux-index/intelhex/): Requested IntelHex>=2.2.1 from https://wheels.koston.org/musllinux-index/intelhex-2.3.0-py2.py3-none-any.whl#sha256=87cc5225657524ec6361354be928adfd56bcf2a3dcc646c40f8f094c39c07db4 (from pymysensors==0.24.0->-r requirements_and.txt (line 1853)) has inconsistent Name: expected 'IntelHex', but metadata has 'intelhex'
upgrade pip as its fixed via https://github.com/pypa/pip/pull/12044
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.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e40f1524aaef1919f240d790e6af79190864ded66c34e0712d6baebc144c7f5e |
|
MD5 | b2d47262a44ffbfce3cfa5d1c45832b5 |
|
BLAKE2b-256 | 50d1c6956004114671e5b4224bf7556f6151b8f92397bcec3a5296c6e613572c |