-
Notifications
You must be signed in to change notification settings - Fork 121
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
FR: build-backend support for poetry
within pyproject.toml
#644
Comments
distutils and setuptools are historically both a backend and frontend, and the deprecation suggesting build is only for the frontend part, since setuptools (absorbing distutils) only wants to be a backend moving forward, while build is only implements frontend functionalities. So no, this does not make sense. |
@uranusjr Quite alright. I was afraid this might be the case. Thank you for the clarification. I’ll go ahead and close this issue for now then. |
Hi @adam-grant-hendry, the |
Yes, I've already been doing that for some time now: # pyproject.toml
...
[tool.poetry.build]
generate-setup-file = false
script = 'build.py'
[build-system]
requires = [
"setuptools>=45",
"wheel",
"toml",
]
build-backend = "setuptools.build_meta" This was first introduced in Issue #11, but is still undocumented. I thought I was seeing the |
Related to poetry/#2740 , considering PEP 632, is it possible to use
build
as a backend withpoetry
to build platform-specific wheels and compile C-extensions?NOTE: This might not be applicable since
build
is technically listed as a front-end but I thought I'd ask since thedistutils
SetuptoolsDeprecationWarning
recommends tryingpypa/build
insteadThe text was updated successfully, but these errors were encountered: