Skip to content

Change installation path of python module

Alexis SALZMAN requested to merge new_pyinst into master

This change offers a way to install the full matlib component in CMAKE_INSTALL_PREFIX sub folder:

  • for libmatlib.so it is unchanged, in lib folder
  • for matlib.py/_matlib2python.so it is now in lib/pythonxxx/site-packages (or similar)

The advantage is that, when working with a Micromamba/Conda installation or Python environment, you can configure CMAKE_INSTALL_PREFIX to align with these settings. This ensures that your MatLib installation is injected into these environments in the correct location. Under Python, you should therefore normally be able to import the MatLib module directly without any further configuration.

Merge request reports

Loading