diff --git a/pyexternals/CMakeLists.txt b/pyexternals/CMakeLists.txt index a2857d391b1c0ed70ea48b16fb0ec1bd395285ee..45ed27b8a6164ce88a680682e3fdaf6d5bcf0129 100644 --- a/pyexternals/CMakeLists.txt +++ b/pyexternals/CMakeLists.txt @@ -5952,10 +5952,10 @@ LCGPackage_Add( CONFIGURE_COMMAND <VOID> BUILD_COMMAND <VOID> INSTALL_COMMAND ${MakeSitePackagesDir} - COMMAND ${PYTHON} setup.py install ${PySetupOptions} + COMMAND ${PYTHON} -m pip install . --no-deps ${PySetupOptions} COMMAND ${CMAKE_SOURCE_DIR}/pyexternals/Python_postinstall.sh <INSTALL_DIR> BUILD_IN_SOURCE 1 - DEPENDS Python setuptools pycodestyle + DEPENDS Python setuptools pycodestyle pip ) #---imageio-----------------------------------------------------------------------------