poetry publish
Publish a package to a remote repository. More information: https://python-poetry.org/docs/cli/#publish.
- Publish the current package to PyPI:
poetry publish
- Build the package before publishing:
poetry publish --build
- Publish to a specific repository:
poetry publish
- Publish with specific credentials:
poetry publish
- Simulate publishing the current package without actually publishing it:
poetry publish --dry-run
- Skip files that already exist in the repository:
poetry publish --skip-existing
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
