Use python -m build for PEP517 Compatibility#102
Conversation
[build](https://pypa-build.readthedocs.io/en/latest/) is a simple, correct PEP 517 build frontend. It invokes the PEP517 hooks, so projects that support PEP 517, but not setuptools, will still build.
|
This looks great! Thank you a bunch for this PR, will run the tests for it here shortly, and get it merged ASAP 👏 |
|
Your development orb has been published. It will expire in 30 days. |
|
Hi @kojiromike, just a few things before I proceed with merging. 'wheel' still seems to be actively maintained, and might still be a preference to some users. Do you believe it would be worth supporting both, and instead making a PEP517-specific build command? Or better yet, is build backward compatible with wheel in most scenarios? Thanks! |
|
There's nothing wrong with supporting both if you're open to it. Both commands produce a wheel, so they ought to product compatible results. If there's a difference, it's that by default |
|
@kojiromike Excellent! Thank you for the great explanation. I figured this was the case but just wanted to verify. We're discussing how to best incorporate this - do we make this a new command, or keep the dist command consolidated? I believe the latter is the right approach, however, then we have a few hanging parameters that don't get used. That's not a deal breaker as we have that same scenario in other orbs. One last question (that I will also look into momentarily), but are any of these new parameters that are |
|
Going to merge this into a temp branch so that I can make the changes discussed above 😄 |
|
Your development orb has been published. It will expire in 30 days. |
SEMVER Update Type:
Description:
Motivation:
build is a simple, correct PEP 517 build frontend. Projects that support PEP 517, but not setuptools, will still build.
Checklist: