From 30848efd45f91d55b7f79f7f4a9388c74077afd7 Mon Sep 17 00:00:00 2001 From: Arcitec <38923130+Arcitec@users.noreply.github.com> Date: Wed, 10 Sep 2025 17:57:51 +0200 Subject: [PATCH] docs: Add Alibaba's high-bandwidth PyPI mirror for China --- README.md | 5 ++++- docs/README_zh.md | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8732f4b..26228f9 100644 --- a/README.md +++ b/README.md @@ -174,9 +174,12 @@ will install the correct versions of all dependencies into your `.venv` director uv sync --all-extras ``` -If the download is slow, please try a *local mirror*, for example China: +If the download is slow, please try a *local mirror*, for example any of these +local mirrors in China (choose one mirror from the list below): ```bash +uv sync --all-extras --default-index "https://mirrors.aliyun.com/pypi/simple" + uv sync --all-extras --default-index "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple" ``` diff --git a/docs/README_zh.md b/docs/README_zh.md index 01941c8..8af79bc 100644 --- a/docs/README_zh.md +++ b/docs/README_zh.md @@ -153,6 +153,8 @@ uv sync --all-extras 如中国大陆地区用户下载缓慢,可选用国内镜像: ```bash +uv sync --all-extras --default-index "https://mirrors.aliyun.com/pypi/simple" + uv sync --all-extras --default-index "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple" ```