From 004b1ef2a4925a9d738b51b38891cb7b7f703989 Mon Sep 17 00:00:00 2001 From: KumaTea Date: Sun, 4 Feb 2024 12:18:12 +0800 Subject: [PATCH] update readme and scripts --- README.md | 8 ++++++++ src/conf.py | 1 + src/main.py | 14 +++++++++++--- whl/wheels.html | 13 +++++++++++++ 4 files changed, 33 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eddc6ea..77809a3 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,14 @@ Extended Python wheels (whl) This project provides pre-built wheels of popular packages. +### Add to pip + +```bash +pip config set global.extra-index-url https://ext.kmtea.eu/cdn +``` + +### Temporary use + ```bash pip install --prefer-binary --extra-index-url https://ext.kmtea.eu/simple ``` diff --git a/src/conf.py b/src/conf.py index cbd4e8c..a33063e 100644 --- a/src/conf.py +++ b/src/conf.py @@ -6,6 +6,7 @@ 'riscv-wheels', 'ext-whl', 'NextBot', + 'pytorch-riscv64', ] if os.name == 'nt': diff --git a/src/main.py b/src/main.py index 7ad3dc3..19bd682 100644 --- a/src/main.py +++ b/src/main.py @@ -1,6 +1,14 @@ -from gen_whl import gen_html, gen_html_cdn +from gen_whl import gen_html +from gen_index import gen_index +from col_whl import get_all_repo_data +from tools import get_saved_hash, get_assets if __name__ == '__main__': - gen_html() - gen_html_cdn() + get_all_repo_data() + + hash_dict = get_saved_hash() + wheels = get_assets(hash_dict) + + gen_html(hash_dict) + gen_index(wheels) diff --git a/whl/wheels.html b/whl/wheels.html index b8fd005..d5ad443 100644 --- a/whl/wheels.html +++ b/whl/wheels.html @@ -1061,6 +1061,7 @@ fastcluster-1.2.6-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
fastcluster-1.2.6-pp38-pypy38_pp73-win_amd64.whl
fastcluster-1.2.6-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
+fastdeploy_python-1.0.7-cp312-cp312-win_amd64.whl
fastdtw-0.3.4-py3-none-any.whl
fastkde-2.0.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
fastkde-2.0.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
@@ -3082,6 +3083,8 @@ pymunk-6.6.0-pp37-pypy37_pp73-win_amd64.whl
pymunk-6.6.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
pymunk-6.6.0-pp38-pypy38_pp73-win_amd64.whl
+PyMuPDF-1.20.2+actually.1.21.1-cp312-cp312-win_amd64.whl
+PyMuPDF-1.20.2+actually.1.22.5-cp312-cp312-win_amd64.whl
PyMuPDF-1.22.5-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
PyNaCl-1.5.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
PyNaCl-1.5.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
@@ -4231,7 +4234,17 @@ tokenizers-0.15.0-pp38-pypy38_pp73-win_amd64.whl
tokenizers-0.15.0-pp39-pypy39_pp73-win_amd64.whl
tomopy-1.10.3-pp38-pypy38_pp73-win_amd64.whl
+torch-2.1.1-cp310-cp310-linux_riscv64.whl
+torch-2.1.1-cp311-cp311-linux_riscv64.whl
+torch-2.1.1-cp312-cp312-linux_riscv64.whl
+torch-2.1.1-cp38-cp38-linux_riscv64.whl
+torch-2.1.1-cp39-cp39-linux_riscv64.whl
torchtext-0.2.3-py3-none-any.whl
+torchvision-0.16.1-cp310-cp310-linux_riscv64.whl
+torchvision-0.16.1-cp311-cp311-linux_riscv64.whl
+torchvision-0.16.1-cp312-cp312-linux_riscv64.whl
+torchvision-0.16.1-cp38-cp38-linux_riscv64.whl
+torchvision-0.16.1-cp39-cp39-linux_riscv64.whl
tornado-5.1.1-py3-none-any.whl
tornado-6.1-cp310-cp310-linux_aarch64.whl
tornado-6.1-py3-none-any.whl