poetry build
Build a Poetry package as a tarball and a wheel. More information: https://python-poetry.org/docs/cli/#build.
- Build a tarball and a wheel for the project:
poetry build
- Build a wheel package:
poetry build wheel
- Build a source distribution (sdist):
poetry build sdist
- Clean the output directory before building:
poetry build --clean
- Set the output directory:
poetry build
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
