Skip to content

why adding poetry-dynamic-versioning to build-system.requires? #160

Answered by mtkennerly
cavedon asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! That setting makes it possible to install your project from its repository using a non-Poetry tool with PEP-517 support, like Pip.

When you use Poetry to manage a project, it ignores the build-system section and automatically does things the Poetry way. However, other tools, like Pip, rely on the build-system config to know what to do.

If someone clones your repo and runs pip install . (rather than poetry install), then the build-system will tell Pip that it needs to use poetry-core along with the plugin.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cavedon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants