equinor / segyio

Fast Python library for SEGY files.
Other
476 stars 214 forks source link

Respect CMAKE_INSTALL_PREFIX in python-pkg install #439

Closed jokva closed 4 years ago

jokva commented 4 years ago

The CMAKE_INSTALL_PREFIX is the canonical way to configure the prefix path (defaults to /usr/local). The cmake system invokes the setup.py install command, but needs the prefix if it is set - otherwise, use whatever is default and don't pass the flag at all.