mirror of https://github.com/pypa/hatch.git
40 lines
812 B
Markdown
40 lines
812 B
Markdown
# Publisher plugins
|
|
|
|
-----
|
|
|
|
## Built-in
|
|
|
|
### PyPI
|
|
|
|
See the documentation for [publishing](../publish.md).
|
|
|
|
#### Configuration
|
|
|
|
The publisher plugin name is `pypi`.
|
|
|
|
=== ":octicons-file-code-16: config.toml"
|
|
|
|
```toml
|
|
[publish.pypi]
|
|
```
|
|
|
|
##### Options
|
|
|
|
| Flag | Config name | Description |
|
|
| --- | --- | --- |
|
|
| `-u`/`--user` | `user` | The user with which to authenticate |
|
|
| `-a`/`--auth` | `auth` | The credentials to use for authentication |
|
|
| `-r`/`--repo` | `repo` | The repository with which to publish artifacts |
|
|
| | `repos` | A table of named repositories to their respective URLs |
|
|
|
|
::: hatch.publish.plugin.interface.PublisherInterface
|
|
selection:
|
|
members:
|
|
- PLUGIN_NAME
|
|
- app
|
|
- root
|
|
- cache_dir
|
|
- project_config
|
|
- plugin_config
|
|
- publish
|