Re: [PATCH] Python: discourage direct setup.py install

2022-02-09 Thread John Snow
On Wed, Feb 9, 2022 at 7:51 AM Beraldo Leal wrote: > > On Mon, Feb 07, 2022 at 04:30:39PM -0500, John Snow wrote: > > When invoking setup.py directly, the default behavior for 'install' is > > to run the bdist_egg installation hook, which is ... actually deprecated > > by setuptools. It doesn't se

Re: [PATCH] Python: discourage direct setup.py install

2022-02-09 Thread Peter Maydell
On Wed, 9 Feb 2022 at 16:54, John Snow wrote: > On Wed, Feb 9, 2022, 8:35 AM Peter Maydell wrote: >> While we're on the topic of python installation, is there any way >> to suppress or otherwise deal with the warning Meson prints out? >> >> WARNING: Broken python installation detected. Python fil

Re: [PATCH] Python: discourage direct setup.py install

2022-02-09 Thread John Snow
On Wed, Feb 9, 2022, 8:35 AM Peter Maydell wrote: > On Mon, 7 Feb 2022 at 21:34, John Snow wrote: > > > > When invoking setup.py directly, the default behavior for 'install' is > > to run the bdist_egg installation hook, which is ... actually deprecated > > by setuptools. It doesn't seem to work

Re: [PATCH] Python: discourage direct setup.py install

2022-02-09 Thread Peter Maydell
On Mon, 7 Feb 2022 at 21:34, John Snow wrote: > > When invoking setup.py directly, the default behavior for 'install' is > to run the bdist_egg installation hook, which is ... actually deprecated > by setuptools. It doesn't seem to work quite right anymore. > > By contrast, 'pip install' will invo

Re: [PATCH] Python: discourage direct setup.py install

2022-02-09 Thread Beraldo Leal
On Mon, Feb 07, 2022 at 04:30:39PM -0500, John Snow wrote: > When invoking setup.py directly, the default behavior for 'install' is > to run the bdist_egg installation hook, which is ... actually deprecated > by setuptools. It doesn't seem to work quite right anymore. > > By contrast, 'pip install

[PATCH] Python: discourage direct setup.py install

2022-02-07 Thread John Snow
When invoking setup.py directly, the default behavior for 'install' is to run the bdist_egg installation hook, which is ... actually deprecated by setuptools. It doesn't seem to work quite right anymore. By contrast, 'pip install' will invoke the bdist_wheel hook instead. This leads to differences