From cadd5b79ba545c02a39b14894605874b94ab4d6c Mon Sep 17 00:00:00 2001 From: Girdhar Agrawal Date: Thu, 16 Oct 2025 22:58:56 +0530 Subject: [PATCH] poetry-build: add page --- pages/common/poetry-build.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/poetry-build.md diff --git a/pages/common/poetry-build.md b/pages/common/poetry-build.md new file mode 100644 index 00000000000000..fae707d88dbc91 --- /dev/null +++ b/pages/common/poetry-build.md @@ -0,0 +1,24 @@ +# poetry build + +> Build a Poetry package as a tarball and a wheel. +> More information: . + +- Build the package in the default format (sdist and wheel): + +`poetry build` + +- Build only the wheel package: + +`poetry build --format {{wheel}}` + +- Build only the source distribution (sdist): + +`poetry build --format {{sdist}}` + +- Build the package and output to a specific directory: + +`poetry build --output {{path/to/directory}}` + +- Display help: + +`poetry build --help`