Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python: install to a proper libdir prefix #599

Merged
merged 11 commits into from
Jun 4, 2024
5 changes: 4 additions & 1 deletion python/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
SET(podio_PYTHON_INSTALLDIR python)
execute_process(COMMAND "${Python_EXECUTABLE}"
-c "import sysconfig;print(sysconfig.get_path(\"purelib\", vars={\"base\": \".\"}))"
OUTPUT_VARIABLE podio_PYTHON_INSTALLDIR OUTPUT_STRIP_TRAILING_WHITESPACE
)
SET(podio_PYTHON_INSTALLDIR ${podio_PYTHON_INSTALLDIR} PARENT_SCOPE)
veprbl marked this conversation as resolved.
Show resolved Hide resolved

set(to_install
Expand Down