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