This commit is contained in:
Laurent Perron
2023-06-19 11:29:20 +02:00
parent 24ea806809
commit cfe3034b60
2 changed files with 1 additions and 2 deletions

View File

@@ -382,7 +382,7 @@ if(BUILD_VENV)
COMMAND ${VENV_Python3_EXECUTABLE} -m pip install
--find-links=${CMAKE_CURRENT_BINARY_DIR}/python/dist ${PYTHON_PROJECT}==${PROJECT_VERSION}
# install modules only required to run examples
COMMAND ${VENV_Python3_EXECUTABLE} -m pip install pandas matplotlib pytest
COMMAND ${VENV_Python3_EXECUTABLE} -m pip install pandas matplotlib pytest scipy
BYPRODUCTS ${VENV_DIR}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Create venv and install ${PYTHON_PROJECT}"

View File

@@ -46,7 +46,6 @@ setup(
'absl-py >= 0.13',
'numpy >= 1.13.3',
'protobuf >= 4.23.2',
'scipy >= 1.10.0',
],
package_data={
'@PYTHON_PROJECT@':[$<$<STREQUAL:$<TARGET_PROPERTY:@PROJECT_NAME@,TYPE>,SHARED_LIBRARY>:'.libs/*','../$<TARGET_SONAME_FILE_NAME:@PROJECT_NAME@>'>],