mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-17 19:55:34 +00:00
Use --index-url in PyPi description (#22620)
Fixes #22616 Co-authored-by: zeripath <[email protected]>
This commit is contained in:
committed by
GitHub
co-authored by
zeripath
parent
7720581e24
commit
a884069cc5
@@ -77,6 +77,8 @@ For example:
|
|||||||
pip install --index-url https://testuser:[email protected]/api/packages/testuser/pypi/simple --no-deps test_package
|
pip install --index-url https://testuser:[email protected]/api/packages/testuser/pypi/simple --no-deps test_package
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You can use `--extra-index-url` instead of `--index-url` but that makes you vulnerable to dependency confusion attacks because `pip` checks the official PyPi repository for the package before it checks the specified custom repository. Read the `pip` docs for more information.
|
||||||
|
|
||||||
## Supported commands
|
## Supported commands
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user