On Fri, Oct 22, 2021, at 3:06 PM, Thomas Goirand wrote:
On 10/21/21 1:18 PM, Dmitry Tantsur wrote:
Side note: calling setup.py is essentially deprecated: https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html>
This is essentially bullshit: the replacement method proposed in this page is supposed to be "pip install", which does dependency resolving and download from the internet, which is not useful (and even forbidden at package build time) for downstream distributions.
If using pip is the only thing that upstream Python people are proposing to distributions, without any distro-specific options (like the --install-layout=deb option of setuptools, for example), then something really wrong is going on.
Unless I missed something and upstream Python likes us from now on?!?
I think https://pypa-build.readthedocs.io/en/latest/ may be the new tool that is a bit more usable for distros. But I've not used it at all so couldn't comment on its applicability.