Skip to content

Commit

Permalink
Update python module install method to pip (fixes deprecation)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Aug 23, 2023
1 parent b279ce0 commit 5dbd4d7
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions cmake/install-python.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ else()
endif()

set(cmd_
@Python3_EXECUTABLE@ @MVSIM_PYTHON_BUILD_DIRECTORY@/setup.py
install
--root=${INSTALL_ROOT_DIR}
--install-lib=@PYTHON_INSTALL_DIR@
--install-layout=deb
--single-version-externally-managed
@Python3_EXECUTABLE@ -m pip install .
--target=${INSTALL_ROOT_DIR}/@PYTHON_INSTALL_DIR@
--ignore-installed
--upgrade
)


string(REPLACE ";" " " _cmd_print "${cmd_}")
message(STATUS "Running: ${_cmd_print}")

Expand Down

0 comments on commit 5dbd4d7

Please sign in to comment.