[yocto] distutils.bbclass: why is --install-data=${datadir} passed?

2023-01-11 Thread Alexandru N. Onea
Hello, community! While writing some python-based recipes using setuptools3 I have noticed that ${datadir} is always installed in the staging area even though there is no content under it. This causes QA issues. I found out that the distutils bbclass contains the following line which causes this b

Re: [yocto] distutils.bbclass: why is --install-data=${datadir} passed?

2023-01-11 Thread Alexander Kanavin
distutils has been removed from upcoming python 3.12, so I don't think anyone would be particularly interested in what that class is doing :) The concern should be what are you going to do with all these recipes when you will be transitioning to a version of yocto without distutils. Alex On Wed,