Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Aug 2022 00:08:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 255722] Mk/Uses/python.mk: Needs to support pyproject.toml-based projects: USE_PYTHON=build feature
Message-ID:  <bug-255722-21822-qTDg37Ixme@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255722-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255722-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255722

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

They are present by virtue of py-build and py-installer currently in the tr=
ee
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=3Ddistutils is specified, setuptools=
 is an
unconditional RUN_DEPENDS, which is unnecessary and wrong for PEP-517.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255722-21822-qTDg37Ixme>