Update python install + build-tree setup (#128)

- When one python version is used, install to proper lib/pythonX.Y/site-packages
- config files, etc. in build tree resemble the install-tree
This commit is contained in:
Jonathan R. Madsen
2022-08-08 08:38:38 -05:00
committed by GitHub
parent cbe8862ea4
commit 95913c7135
5 changed files with 131 additions and 107 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ set(_python_environment
"OMNITRACE_USE_PID=OFF"
"OMNITRACE_TIMEMORY_COMPONENTS=wall_clock,trip_count"
"${_test_library_path}"
"PYTHONPATH=${PROJECT_BINARY_DIR}/lib/python/site-packages")
"PYTHONPATH=${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_PYTHONDIR}")
set(_attach_environment
"OMNITRACE_USE_PERFETTO=ON"