mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
Merge pull request #416 from TechCiel/patch-1
help(pypi): adapt the new `priority` option of `poetry`
This commit is contained in:
commit
f495a7c932
|
|
@ -55,14 +55,14 @@ pdm config pypi.url https://{{ site.pypi }}/simple
|
|||
|
||||
### Poetry
|
||||
|
||||
通过以下命令设置默认镜像:
|
||||
通过以下命令设置首选镜像:
|
||||
|
||||
```
|
||||
poetry source add --priority=default mirrors https://{{ site.pypi }}/simple/
|
||||
poetry source add --priority=primary mirrors https://{{ site.pypi }}/simple/
|
||||
```
|
||||
|
||||
通过以下命令设置次级镜像:
|
||||
通过以下命令设置补充镜像:
|
||||
|
||||
```
|
||||
poetry source add --priority=secondary mirrors https://{{ site.pypi }}/simple/
|
||||
poetry source add --priority=supplemental mirrors https://{{ site.pypi }}/simple/
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue