mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 00:02:43 +02:00
Use --index-url in PyPi description (#22620)
Fixes #22616 Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
1 parent
5ff037ef51
commit
51a92cb821
2 files changed
+3
-1
No files matched your search
@@ -77,6 +77,8 @@ For example:
|
||||
pip install --index-url https://testuser:password123@gitea.example.com/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
|
||||
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user