diff --git a/README.md b/README.md
index eba22a9..b1fa00b 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-

+
全平台通用换源工具与框架 `chsrc`,**目标支持 Linux, Windows (MSYS2, Cygwin), macOS, BSD 等尽可能多的操作系统环境,龙芯、飞腾、RISC-V 等尽可能多的 CPU**。
@@ -39,9 +39,11 @@
可参与的任务与挑战:
-1. [提供默认源地址,如Maven等的默认源URL,帮助我们进行 `chsrc reset`](https://github.com/RubyMetric/chsrc/issues/111)
+1. [Shell auto-completion 终端命令自动补全](https://github.com/RubyMetric/chsrc/issues/204)
-2. [CentOS (Stream) Recipe](https://github.com/RubyMetric/chsrc/issues/48)
+2. [搜集默认源地址,帮助使用 `reset` 功能](https://github.com/RubyMetric/chsrc/issues/111)
+
+3. [搜集测速地址,帮助使用 `measure` 功能](https://github.com/RubyMetric/chsrc/issues/205)
@@ -84,7 +86,7 @@
## 📌 示例
-

+
diff --git a/image/chsrc.png b/doc/image/chsrc.png
similarity index 100%
rename from image/chsrc.png
rename to doc/image/chsrc.png
diff --git a/image/example-ls-ruby.png b/doc/image/example-ls-ruby.png
similarity index 100%
rename from image/example-ls-ruby.png
rename to doc/image/example-ls-ruby.png
diff --git a/image/example-set-nodejs.png b/doc/image/example-set-nodejs.png
similarity index 100%
rename from image/example-set-nodejs.png
rename to doc/image/example-set-nodejs.png
diff --git a/image/example-set-ruby.png b/doc/image/example-set-ruby.png
similarity index 100%
rename from image/example-set-ruby.png
rename to doc/image/example-set-ruby.png
diff --git a/src/recipe/lang/Python/common.h b/src/recipe/lang/Python/common.h
index aef71a3..9daa5f7 100644
--- a/src/recipe/lang/Python/common.h
+++ b/src/recipe/lang/Python/common.h
@@ -7,7 +7,7 @@
* |
* Created On : <2023-09-03>
* Major Revision : 1
- * Last Modified : <2024-12-11>
+ * Last Modified : <2025-06-12>
* ------------------------------------------------------------*/
static SourceProvider_t pl_python_pypi_upstream =
@@ -17,12 +17,13 @@ static SourceProvider_t pl_python_pypi_upstream =
};
/**
- * @update 2024-12-08
- * @note 不要添加Zju,浙大的pypi在校外访问会自动转向Tuna
+ * @update 2025-06-12
+ * @note 不要添加Zju,浙大的PyPI服务在校外访问会自动转向Tuna
*/
static Source_t pl_python_sources[] =
{
- {&pl_python_pypi_upstream , "https://pypi.org/simple"},
+ {&pl_python_pypi_upstream, "https://pypi.org/simple"},
+ {&MirrorZ, "https://mirrors.cernet.edu.cn/pypi/web/simple"},
{&Bfsu, "https://mirrors.bfsu.edu.cn/pypi/web/simple"},
{&Lzuoss, "https://mirror.lzu.edu.cn/pypi/web/simple"},
{&Jlu, "https://mirrors.jlu.edu.cn/pypi/web/simple"},
@@ -58,15 +59,18 @@ pl_python_get_py_program_name (char **prog_name)
bool py_exist = false;
- // 由于Python2和Python3的历史,目前(2024-06)许多python命令实际上仍然是python2
- // https://gitee.com/RubyMetric/chsrc/issues/I9VZL2
- // 因此我们首先测试 python3
+ /**
+ * @issue https://gitee.com/RubyMetric/chsrc/issues/I9VZL2
+ *
+ * 由于Python2和Python3的历史,目前(2024-06)许多python命令实际上仍然是python2
+ * 因此我们首先测试 python3
+ */
py_exist = chsrc_check_program ("python3");
if (py_exist) *prog_name = "python3";
else
{
- // 不要调用 python 自己,而是使用 python --version,避免Windows弹出Microsoft Store
+ /* 不要调用 python 自己,而是使用 python --version,避免Windows弹出Microsoft Store */
py_exist = chsrc_check_program ("python");
if (py_exist) *prog_name = "python";