Skip to content

python: add support for multiarch distributions

Andoni Morales Alastruey requested to merge ylatuya/cerbero:python into main

In multiarch distributions, python modules can be installed in the purelib path or the platlib path.

For example in Fedora x86_64

  • lib/python-3.8/site-packages
  • lib64/python-3.8/site-packages

This patch tries to correctly support these scenarios by adding as python prefixes both the purelib and the platlib paths. It also provides a better mechanism to list python files in recipes introducing the replacements pydir and pyplatdir

Edited by Andoni Morales Alastruey

Merge request reports