Separate Python packagers

[GitHub #79]
This commit is contained in:
Aoran Zeng
2024-09-13 19:17:51 +08:00
parent 3ff2376351
commit 48cefa1b1d
8 changed files with 199 additions and 176 deletions

View File

@@ -59,7 +59,7 @@ pl_python_pip_setsrc (char *option)
// https://github.com/RubyMetric/chsrc/issues/39
// 经测试Windows上调用换源命令会写入 C:\Users\RubyMetric\AppData\Roaming\pip\pip.ini
char *cmd = xy_2strjoin (py_prog_name, xy_2strjoin (" -m pip config --user set global.index-url ", source.url));
chsrc_run (cmd, RunOpt_Default);
chsrc_run (cmd, RunOpt_No_Last_New_Line);
chsrc_conclude (&source, ChsrcTypeAuto);
}