-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Currently we are use manually pip to install codechecker:
meta-codechecker/recipes-devtools/codechecker/codechecker_6.17.0.bb
Lines 33 to 36 in 2231a85
| # CodeChecker use a native namespace package and can't be installed using | |
| # setup.py install, so we can't simply ihnerit from setuptools3 | |
| # Instead, we must install using pip install . | |
| # This code is inspired by the distutils3.bbclass |
Next version of Yocto kirkstone now use pip instead of setup.py, as Python deprecated setup.py upstream.
The old behaviour is now in setuptools3_legacy.bbclass. The new setuptools3.bbclass use pip under the hood and should work with codechecker. This would allow us to drop our custom do_install step.
See this thread for more info: https://lore.kernel.org/all/CAAnfSTvjPeyJHjd-FiYoXmxPMaXM0AH9KMXm6n5ooJNfQp80Sw@mail.gmail.com/
This will also remove this warning on kirkstone:
WARNING: distutils-common-base.bbclass is deprecated, please use setuptools3-base.bbclass instead