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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 08 Aug 2022 00:08:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255722

--- Comment #13 from Charlie Li <vishwin@freebsd.org> ---
> distutils and setuptools aren't required ot be present in the suggested approach

They are present by virtue of py-build and py-installer currently in the tree
using distutils/setuptools to build themselves. installer is actually built
wrong in this case since the specified build backend is flit, not setuptools
(but works by coincidence).

> "build" is a user intent, not a package name

Still misleading, because the intent does not imply install to
staging/wherever.

> This potential problem can be solved once it becomes a real problem. And it won't become a real problem any time soon.

It will become a real problem in our tree when PEP-517 support lands in the
framework. Currently, when USES_PYTHON=distutils is specified, setuptools is an
unconditional RUN_DEPENDS, which is unnecessary and wrong for PEP-517.

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