diff --git a/deploy-cn.sh b/deploy-cn.sh index 52c38f6..d533273 100755 --- a/deploy-cn.sh +++ b/deploy-cn.sh @@ -67,7 +67,7 @@ echo "venv created successfully" # install the required packages echo "Installing the required packages" -$python_exe -m pip install pdm -i https://pypi.tuna.tsinghua.edu.cn/simple +$python_exe -m pip install pdm -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple $python_exe -m pdm install # create the systemd service diff --git a/pyproject.toml b/pyproject.toml index 7f00837..d459cd3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,5 +31,5 @@ tag_filter = "v*" tag_regex = '^v(?:\D*)?(?P([1-9][0-9]*!)?(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*((a|b|c|rc)(0|[1-9][0-9]*))?(\.post(0|[1-9][0-9]*))?(\.dev(0|[1-9][0-9]*))?$)$' [[tool.pdm.source]] -name = "tuna" -url = "https://pypi.tuna.tsinghua.edu.cn/simple" \ No newline at end of file +name = "pypi" +url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple" \ No newline at end of file