uhd/host/python
Martin Braun c385d20eee cmake: Fix auto-detection of Python install directory
This fixes an issue where on Ubuntu 22.04 (with Python 3.10), the
installation of the Python module would go to $PREFIX/local/lib even if
the rest goes to $PREFIX/lib. We achieve this by avoiding a) using
sysconfig.get_path() to get *both* the prefix and the library path, and
then also avoiding the `posix_local` install scheme.

Note: This same logic fails to work for MPM, so we don't touch that, but
simply force MPM to use the same path as UHD has. This means MPM is
unaffected when built by itself, but follows the UHD path when built as
part of UHD.

Hat-tip to Johannes Demel for pointing out this solution path.
2023-04-03 13:09:59 -07:00
..
uhd rfnoc: Support multiple CHDR widths in RFNoC image builder 2023-02-24 08:07:17 -06:00
CMakeLists.txt cmake: Fix auto-detection of Python install directory 2023-04-03 13:09:59 -07:00
pyuhd.cpp n310: Add Filter API to n310 2022-04-07 13:28:02 -07:00
setup.py.in python: Fix pyuhd to include subpackages 2020-08-04 07:43:48 -05:00