[Bug 255722] Mk/Uses/python.mk: Needs to support pyproject.toml-based projects: USE_PYTHON=build feature

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 07 Aug 2022 23:40:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255722

--- Comment #11 from Charlie Li <vishwin@freebsd.org> ---
autoplist is supported, just a different way of doing it (and much less
fragile).

"Minimalistic" will not work here, because a major part of PEP-517 is
completely deprecating the setup.py or otherwise distutils path in package
management and standardising on wheels. Even though setuptools includes an
internal copy of distutils, there is no guarantee of it still existing in the
future. Thus, in terms of future-proofing, this cannot go into the framework
without also converting the toolchain to setuptools-less bootstrapping.

USE_PYTHON=build actually is misleading, because it's only one (minimalist)
tool that only builds, not installs. In fact, py-build and py-installer didn't
exist until after PEP-517 was accepted and (ensure)pip gained support.

-- 
You are receiving this mail because:
You are on the CC list for the bug.