tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: infrastructure change needed for python modules



Here's a post by a Gentoo developer on the same topic, without
a solution.

  https://blogs.gentoo.org/mgorny/2021/11/07/the-future-of-python-build-systems-and-gentoo/

 Thomas


On Tue, Nov 23, 2021 at 11:37:23AM +0100, Thomas Klausner wrote:
> Hi!
> 
> The latest setuptools release points to an article which explains that
> setup.py should not be used any longer, and what the replacements are:
> 
> https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
> 
> I've noticed for some time that `setup.py test` were already broken
> quite often, but it seems to me that 'setup.py build' and 'setup.py
> install' should not be used any longer either. (They still work and
> will probably keep working for some possibly quite long time.)
> 
> However, we do use setup.py for basically all python modules (see
> lang/python/extension.mk, which is included by both distutils.mk and
> egg.mk).
> 
> Can someone who's interested in Python and pkgsrc please convert
> pkgsrc to current Python best practices?
> 
> Thanks,
>  Thomas


Home | Main Index | Thread Index | Old Index