DUNE_PYTHON_INSTALL_LOCATIONΒΆ

This variable can be used to control where Dune should install python packages. Possible values are:

  • user: installs into the users home directory through pip --user. Note, that this is incompatible with using virtual environments (as per pip docs).

  • system: into the standard paths of the interpreter which was found by cmake.

  • none: Never install any python packages.

The default value in use depends on the system interpreter to run in a virtual environment or not: If it does, system is the default, if it does not none is the default. This rather unintuitive default originates from the strong belief, that installing python packages into the system locations at /usr/... should be discouraged.