|
7 | 7 | * | |
8 | 8 | * Created On : <2023-09-03> |
9 | 9 | * Major Revision : 1 |
10 | | - * Last Modified : <2025-06-12> |
| 10 | + * Last Modified : <2025-07-11> |
11 | 11 | * ------------------------------------------------------------*/ |
12 | 12 |
|
| 13 | +/** |
| 14 | + * 注意这个前缀是 host/pipi/web/pacakges.... |
| 15 | + * 下面有几个镜像站微调了这个路径,我们只要确认能找到 packages 目录就好 |
| 16 | + */ |
| 17 | +#define PL_Python_Group_Speed_URL_Postfix "/packages/56/e4/55aaac2b15af4dad079e5af329a79d961e5206589d0e02b1e8da221472ed/tensorflow-2.18.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" |
| 18 | + |
13 | 19 | static SourceProvider_t pl_python_pypi_upstream = |
14 | 20 | { |
15 | 21 | def_upstream, "https://pypi.org/", |
16 | 22 | {NotSkip, NA, NA, "https://files.pythonhosted.org/packages/56/e4/55aaac2b15af4dad079e5af329a79d961e5206589d0e02b1e8da221472ed/tensorflow-2.18.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", ACCURATE} // 260MB |
17 | 23 | }; |
18 | 24 |
|
19 | 25 | /** |
20 | | - * @update 2025-06-12 |
| 26 | + * @update 2025-07-11 |
21 | 27 | * @note 不要添加Zju,浙大的PyPI服务在校外访问会自动转向Tuna |
22 | 28 | */ |
23 | 29 | static Source_t pl_python_sources[] = |
24 | 30 | { |
25 | | - {&pl_python_pypi_upstream, "https://pypi.org/simple"}, |
26 | | - {&MirrorZ, "https://mirrors.cernet.edu.cn/pypi/web/simple"}, |
27 | | - {&Bfsu, "https://mirrors.bfsu.edu.cn/pypi/web/simple"}, |
28 | | - {&Lzuoss, "https://mirror.lzu.edu.cn/pypi/web/simple"}, |
29 | | - {&Jlu, "https://mirrors.jlu.edu.cn/pypi/web/simple"}, |
30 | | - {&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/pypi/web/simple"}, |
31 | | - {&Tuna, "https://pypi.tuna.tsinghua.edu.cn/simple"}, |
32 | | - {&Ali, "https://mirrors.aliyun.com/pypi/simple/"}, |
33 | | - {&Nju, "https://mirror.nju.edu.cn/pypi/web/simple"}, |
34 | | - {&Pku, "https://mirrors.pku.edu.cn/pypi/web/simple"}, |
35 | | - {&Tencent, "https://mirrors.cloud.tencent.com/pypi/simple"}, |
36 | | - // {&Tencent_Intra, "https://mirrors.cloud.tencentyun.com/pypi/simple"}, |
37 | | - {&Huawei, "https://mirrors.huaweicloud.com/repository/pypi/simple"}, |
38 | | - {&Hust, "https://mirrors.hust.edu.cn/pypi/web/simple"} |
39 | | - // {&Netease, "https://mirrors.163.com/.help/pypi.html"} /* 不启用原因:24小时更新一次 */ |
| 31 | + {&pl_python_pypi_upstream, "https://pypi.org/simple", DelegateToUpstream}, |
| 32 | + |
| 33 | + {&MirrorZ, "https://mirrors.cernet.edu.cn/pypi/web/simple", |
| 34 | + "https://mirrors.cernet.edu.cn/pypi/web" PL_Python_Group_Speed_URL_Postfix}, |
| 35 | + |
| 36 | + {&Bfsu, "https://mirrors.bfsu.edu.cn/pypi/web/simple", |
| 37 | + "https://mirrors.bfsu.edu.cn/pypi/web" PL_Python_Group_Speed_URL_Postfix}, |
| 38 | + |
| 39 | + {&Lzuoss, "https://mirror.lzu.edu.cn/pypi/web/simple", |
| 40 | + "https://mirror.lzu.edu.cn/pypi/web" PL_Python_Group_Speed_URL_Postfix}, |
| 41 | + |
| 42 | + {&Jlu, "https://mirrors.jlu.edu.cn/pypi/web/simple", |
| 43 | + "https://mirrors.jlu.edu.cn/pypi/web" PL_Python_Group_Speed_URL_Postfix}, |
| 44 | + |
| 45 | + {&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/pypi/web/simple", |
| 46 | + "https://mirror.sjtu.edu.cn/pypi/web" PL_Python_Group_Speed_URL_Postfix}, |
| 47 | + |
| 48 | + {&Tuna, "https://pypi.tuna.tsinghua.edu.cn/simple", |
| 49 | + "https://pypi.tuna.tsinghua.edu.cn" PL_Python_Group_Speed_URL_Postfix}, |
| 50 | + |
| 51 | + {&Ali, "https://mirrors.aliyun.com/pypi/simple/", |
| 52 | + "https://mirrors.aliyun.com/pypi" PL_Python_Group_Speed_URL_Postfix}, |
| 53 | + |
| 54 | + {&Nju, "https://mirror.nju.edu.cn/pypi/web/simple", |
| 55 | + "https://mirror.nju.edu.cn/pypi/web" PL_Python_Group_Speed_URL_Postfix}, |
| 56 | + |
| 57 | + {&Pku, "https://mirrors.pku.edu.cn/pypi/web/simple", |
| 58 | + "https://mirrors.pku.edu.cn/pypi/web" PL_Python_Group_Speed_URL_Postfix}, |
| 59 | + |
| 60 | + {&Tencent, "https://mirrors.cloud.tencent.com/pypi/simple", |
| 61 | + "https://mirrors.cloud.tencent.com/pypi" PL_Python_Group_Speed_URL_Postfix}, |
| 62 | + |
| 63 | + // {&Tencent_Intra, "https://mirrors.cloud.tencentyun.com/pypi/simple", |
| 64 | + // "https://mirrors.cloud.tencentyun.com/pypi" PL_Python_Group_Speed_URL_Postfix, |
| 65 | + |
| 66 | + {&Huawei, "https://mirrors.huaweicloud.com/repository/pypi/simple", |
| 67 | + "https://mirrors.huaweicloud.com/repository/pypi" PL_Python_Group_Speed_URL_Postfix}, |
| 68 | + |
| 69 | + {&Hust, "https://mirrors.hust.edu.cn/pypi/web/simple", |
| 70 | + "https://mirrors.hust.edu.cn/pypi/web" PL_Python_Group_Speed_URL_Postfix}, |
| 71 | + |
| 72 | + /* 不启用原因:24小时更新一次 */ |
| 73 | + // {&Netease, "https://mirrors.163.com/.help/pypi.html", NULL} |
40 | 74 | }; |
41 | 75 | def_sources_n(pl_python); |
42 | 76 |
|
|
0 commit comments