-
Notifications
You must be signed in to change notification settings - Fork 3k
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
PEP 517 build options #9486
Comments
PEP 517 allows for different backends, but any one project will define the specific backend that they use. So you can happily use setuptools mechanisms, and don't need to worry that someone will randomly try to build your project with a different backend... |
I might have misunderstood, but reading the setuptools documentation, one may believe |
Running |
Alright, thank you very much and sorry for posting in the wrong forum :-) |
Adding PEP 517 config settings support in pip is tracked in #5771. |
What's the problem this feature will solve?
I'm trying to restrict a python wheel to the CPython implementation, using setup.cfg and PEP 517/518:
pip wheel --build-option python-tag=cp3 .
Unfortunately, as of now, it's not possible.
I can't specify an implementation inside a
setup.cfg
, nor inpyproject.toml
.I also can't pass parameters to
pip wheel
as, to my understanding, PEP 517 does not guaranteesetuptools
to be the backend.Describe the solution you'd like
It's either a change in pip to support passing build options to an unknown backend, or a change in setuptools to support them in
setup.cfg
.As a real world use-case, I have packages relevant only to CPython (latest one deals with the garbage collector).
Alternative Solutions
The only solution as of now is to abandon PEP 517, and use the deprecated
setup.py
.The text was updated successfully, but these errors were encountered: