-
Notifications
You must be signed in to change notification settings - Fork 54
Shouldn't build-backend be optional? #76
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
Comments
No. There's no default fallback in PEP517. It must be explicitly stated. |
There's this comment in the PEP:
The question here is whether The OP didn't give any information on what happens currently, but it's possible that we could give a more informative error if we're given a legacy-style source tree, but that's about as far as I'd go. pypa/pip#7740 is based on the idea that |
We do already have a I think it would not be unreasonable to use this for |
@takluyver your thoughts on this? Honestly, I'm 80% there, in terms of motivation, to build a "packagebuilder" library pulled out of pip, that pip starts using for handling all the package building logic; and making that depend on / adopt-into-itself wrappers from pep517. If we want pep517 to be the general purpose build tool, I'll move the code here instead elsewhere. 🙃 If no one is opposed to this happening, given that @pfmoore is now gonna work on the resolver, I'm feeling like I should spend some cycles on this. |
AFAIK, a 'general purpose build tool' can now be built entirely around the PEP 517 APIs, simply by using the setuptools legacy backend as the default when a package doesn't specify anything else. I'm happy for that to be part of the pep517 package. I think the biggest gap is build isolation. I didn't want to depend on virtualenv, because I see this library as a relatively low-level piece of infrastructure. So I hacked together a rough-and-ready I guess that the future of this package depends on how you plan to solve that. If there's a lightweight solution, maybe |
I am making a metapackaging tool, and one of its features should be converting wheels into distro-specific packages (
I sincerelly hope I will be able to disable it without patching |
I don't think so, no.
I think pep517 will always have a lower layer that leaves all isolation and dependency installation to the caller (the |
With a I'm going to go ahead and close this issue eagerly on the basis that this project is scoped to only PEP 517. There's #49 in case as well, so, this is a duplicate as well. |
No description provided.
The text was updated successfully, but these errors were encountered: