Skip to content
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

Change build system to poetry-core #23

Open
m1kc opened this issue Oct 14, 2022 · 0 comments
Open

Change build system to poetry-core #23

m1kc opened this issue Oct 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@m1kc
Copy link
Owner

m1kc commented Oct 14, 2022

Poetry is compliant with PEP-517, by providing a lightweight core library, so if you use Poetry to manage your Python project you should reference it in the build-system section of the pyproject.toml file like so:

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

When using the new or init command this section will be automatically added.
If your pyproject.toml file still references poetry directly as a build backend, you should update it to reference poetry-core instead.

@m1kc m1kc added the enhancement New feature or request label Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant