> On 5 Oct 2022, at 11:48, David Bagonyi via lists.openembedded.org > <[email protected]> wrote: > PYTHON_INHERIT = "${@bb.utils.contains('PACKAGECONFIG', 'python2', > 'pythonnative', '', d)}" > PYTHON_INHERIT .= "${@bb.utils.contains('PACKAGECONFIG', 'python3', > 'python3native python3targetconfig', '', d)}" > +PYTHON_INHERIT .= "${@bb.utils.contains('LANGUAGES', 'python', > 'setuptools3-base', '', d)}”
Note that setuptools3-base itself inherits python3native and python3targetconfig. This is important due to ordering: if python2 is selected then pythonnative needs to be inherited *after* setuptools3-base so that PYTHON is python2 and not python3. However as Py2 has been EOL for nearly three years now, I suggest we just rip out all of the python2 parts in the process of fixing the inherit. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#171458): https://lists.openembedded.org/g/openembedded-core/message/171458 Mute This Topic: https://lists.openembedded.org/mt/94132547/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
