Skip to content
Snippets Groups Projects
Unverified Commit b1a016d4 authored by Sam Yates's avatar Sam Yates Committed by GitHub
Browse files

Respect CMAKE_INSTALL_PREFIX in python lib path (#1325)

* Respect CMAKE_INSTALL_PREFIX in python lib path

* Set `base` and `platbase` to the CMAKE_INSTALL_PREFIX, if defined,
when asking Python for the default python lib install path.

* Differentiate between explicit and default prefix.

* Test for defaulted CMAKE_INSTALL_PREFIX, in which case, use the system
python site packages path, so that it's overall less excitingly awful in
python virtual environments. If you want /usr/local, set it.
parent 2d6bb96b
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment