📝 Update README.md to switch pip mirror to HTTPS and add uv configuration example

This commit is contained in:
2026-05-24 19:58:06 +08:00
parent 0ae633cb6d
commit 8ba1bd525e
+8 -1
View File
@@ -33,12 +33,19 @@ uv run 'https://script.hatter.ink/@0/show_myip.py'
`~/.pip/pip.conf`
```ini
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
index-url = https://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
```
`~/.config/uv/uv.toml`
```toml
[[index]]
url = "https://mirrors.aliyun.com/pypi/simple/"
default = true
```
```shell
pip install requests
pip install cryptography