Re: [OE-core] [RFC][PATCH 1/2] distutils3-legacy: fallback for missing setup.py

2021-11-25 Thread Konrad Weihmann
On 24.11.21 22:02, Tim Orling wrote: On Wed, Nov 24, 2021 at 12:15 PM Konrad Weihmann > wrote: add a bbclass to disutils3 that generates a fallback setup.py in case there is no setup.py available in the source dir, but a setup.cfg. I’ll check this out

Re: [OE-core] [RFC][PATCH 1/2] distutils3-legacy: fallback for missing setup.py

2021-11-24 Thread Tim Orling
On Wed, Nov 24, 2021 at 12:15 PM Konrad Weihmann wrote: > add a bbclass to disutils3 that generates a fallback setup.py in case > there is no setup.py available in the source dir, but a setup.cfg. > I’ll check this out later, but I do want to highlight that we will be deprecating distutils bbcla

[OE-core] [RFC][PATCH 1/2] distutils3-legacy: fallback for missing setup.py

2021-11-24 Thread Konrad Weihmann
add a bbclass to disutils3 that generates a fallback setup.py in case there is no setup.py available in the source dir, but a setup.cfg. Use the mapping provided by https://setuptools.pypa.io/en/latest/userguide/declarative_config.html to translate the most essential items to legacy setuptools.set