📝 Update README.md to switch pip mirror to HTTPS and add uv configuration example
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user