| 1 |
Upload python packages to pypi |
| 2 |
|
| 3 |
It is mostly similar to `twine upload`, but can only upload python wheels and source distributions. |
| 4 |
|
| 5 |
Usage: maturin[EXE] upload [OPTIONS] [FILE]... |
| 6 |
|
| 7 |
Arguments: |
| 8 |
[FILE]... |
| 9 |
The python packages to upload |
| 10 |
|
| 11 |
Options: |
| 12 |
-r, --repository <REPOSITORY> |
| 13 |
The repository (package index) to upload the package to. Should be a section in the config |
| 14 |
file. |
| 15 |
|
| 16 |
Can also be set via MATURIN_REPOSITORY environment variable. |
| 17 |
|
| 18 |
[env: MATURIN_REPOSITORY=] |
| 19 |
[default: pypi] |
| 20 |
|
| 21 |
-v, --verbose... |
| 22 |
Use verbose output. |
| 23 |
|
| 24 |
* Default: Show build information and `cargo build` output. * `-v`: Use `cargo build -v`. |
| 25 |
* `-vv`: Show debug logging and use `cargo build -vv`. * `-vvv`: Show trace logging. |
| 26 |
|
| 27 |
You can configure fine-grained logging using the `RUST_LOG` environment variable. |
| 28 |
(<https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives>) |
| 29 |
|
| 30 |
--repository-url <REPOSITORY_URL> |
| 31 |
The URL of the registry where the wheels are uploaded to. This overrides --repository. |
| 32 |
|
| 33 |
Can also be set via MATURIN_REPOSITORY_URL environment variable. |
| 34 |
|
| 35 |
[env: MATURIN_REPOSITORY_URL=] |
| 36 |
|
| 37 |
-u, --username <USERNAME> |
| 38 |
Username for pypi or your custom registry. |
| 39 |
|
| 40 |
Can also be set via MATURIN_USERNAME environment variable. |
| 41 |
|
| 42 |
Set MATURIN_PYPI_TOKEN variable to use token-based authentication instead |
| 43 |
|
| 44 |
[env: MATURIN_USERNAME=] |
| 45 |
|
| 46 |
-p, --password <PASSWORD> |
| 47 |
Password for pypi or your custom registry. |
| 48 |
|
| 49 |
Can also be set via MATURIN_PASSWORD environment variable. |
| 50 |
|
| 51 |
[env: MATURIN_PASSWORD] |
| 52 |
|
| 53 |
--skip-existing |
| 54 |
Continue uploading files if one already exists. (Only valid when uploading to PyPI. Other |
| 55 |
implementations may not support this.) |
| 56 |
|
| 57 |
--non-interactive |
| 58 |
Do not interactively prompt for username/password if the required credentials are missing. |
| 59 |
|
| 60 |
Can also be set via MATURIN_NON_INTERACTIVE environment variable. |
| 61 |
|
| 62 |
[env: MATURIN_NON_INTERACTIVE=] |
| 63 |
|
| 64 |
-h, --help |
| 65 |
Print help (see a summary with '-h') |