📝 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`
|
`~/.pip/pip.conf`
|
||||||
```ini
|
```ini
|
||||||
[global]
|
[global]
|
||||||
index-url = http://mirrors.aliyun.com/pypi/simple/
|
index-url = https://mirrors.aliyun.com/pypi/simple/
|
||||||
|
|
||||||
[install]
|
[install]
|
||||||
trusted-host=mirrors.aliyun.com
|
trusted-host=mirrors.aliyun.com
|
||||||
```
|
```
|
||||||
|
|
||||||
|
`~/.config/uv/uv.toml`
|
||||||
|
```toml
|
||||||
|
[[index]]
|
||||||
|
url = "https://mirrors.aliyun.com/pypi/simple/"
|
||||||
|
default = true
|
||||||
|
```
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
pip install requests
|
pip install requests
|
||||||
pip install cryptography
|
pip install cryptography
|
||||||
|
|||||||
Reference in New Issue
Block a user