-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
poetry-build: add page #18821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
poetry-build: add page #18821
Conversation
|
||
- Build only the wheel package: | ||
|
||
`poetry build --format {{wheel}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`poetry build --format {{wheel}}` | |
`poetry build {{[-f|--format]}} wheel` |
|
||
- Build only the source distribution (sdist): | ||
|
||
`poetry build --format {{sdist}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`poetry build --format {{sdist}}` | |
`poetry build {{[-f|--format]}} sdist` |
|
||
- Build the package and output to a specific directory: | ||
|
||
`poetry build --output {{path/to/directory}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`poetry build --output {{path/to/directory}}` | |
`poetry build {{[-o|--output]}} {{path/to/directory}}` |
|
||
- Display help: | ||
|
||
`poetry build --help` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`poetry build --help` | |
`poetry build {{[-h|--help]}}` |
Adds documentation for
poetry build
command.Examples included:
#18042