PEP 503索引构建器
项目描述
索引503
PEP 503索引构建器
用法
如果你有一个包含像musllinux
这样的wheel的目录
index-503 musllinux
这将生成一个包含PEP 503索引的musllinux-index
目录,并通过符号链接指向原始目录,而不会干扰原始目录。
再次运行此命令将替换原始索引并以原子方式删除旧索引。
将在父目录中保留一个锁以防止并发执行。
示例
对于图像构建 pip3 install --no-cache-dir --dry-run --only-binary=:all: --index-url "https://wheels.koston.org/musllinux-index/" -r requirements.txt
对于运行时安装 pip3 install --no-cache-dir --dry-run --only-binary=:all: --extra-index-url "https://wheels.koston.org/musllinux-index/" -r requirements.txt
已知问题
本软件仅支持pip 23.2或更高版本,原因如下:https://github.com/pypa/pip/issues/12038
安装
使用pip(或您喜欢的包管理器)安装此软件。
pip安装索引-503
鸣谢
本软件由Copier和browniebroke/pypackage-template项目模板创建。
本项目大量借鉴了Dominic Davis-Foster的simple503项目https://github.com/repo-helper/simple503
项目详情
下载文件
下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装软件包的信息。
源代码分发
index_503-2.5.1.tar.gz (12.3 kB 查看散列)
构建分发
index_503-2.5.1-py3-none-any.whl (12.8 kB 查看散列)