Skip to content

Commit 99639a7

Browse files
committed
add url tip
1 parent 25c5ca5 commit 99639a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/recipe/lang/Python/common.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ pl_python_speed_url_constructor (const char *url, const char *user_data)
1919
char *str = xy_str_delete_suffix (url, "/simple");
2020
str = xy_2strcat (str, "/packages/fa/80/eb88edc2e2b11cd2dd2e56f1c80b5784d11d6e6b7f04a1145df64df40065/opencv_python-4.12.0.88-cp37-abi3-win_amd64.whl");
2121
if (strstr (url, "mirror.sjtu.edu.cn"))
22+
// e.g. https://mirror.sjtu.edu.cn/pypi-packages/fa/80/eb88edc2e2b11cd2dd2e56f1c80b5784d11d6e6b7f04a1145df64df40065/opencv_python-4.12.0.88-cp37-abi3-win_amd64.whl
2223
str = xy_str_gsub (str, "pypi-packages/packages", "pypi-packages");// 针对 Sjtug
2324

2425
return str;

0 commit comments

Comments
 (0)