mirror of
https://gitee.com/RubyMetric/chsrc.git
synced 2025-12-25 20:52:49 +00:00
fix
This commit is contained in:
parent
14be64fc1d
commit
4bea910d4d
|
|
@ -18,7 +18,9 @@ pl_python_speed_url_constructor (const char *url, const char *user_data)
|
|||
{
|
||||
char *str = xy_str_delete_suffix (url, "/simple");
|
||||
str = xy_2strcat (str, "/packages/fa/80/eb88edc2e2b11cd2dd2e56f1c80b5784d11d6e6b7f04a1145df64df40065/opencv_python-4.12.0.88-cp37-abi3-win_amd64.whl");
|
||||
str = xy_str_gsub (str, "pypi-packages/packages", "pypi-packages");// 针对 Sjtug
|
||||
if (strstr (url, "mirror.sjtu.edu.cn"))
|
||||
str = xy_str_gsub (str, "pypi-packages/packages", "pypi-packages");// 针对 Sjtug
|
||||
|
||||
return str;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue