Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 6870d187 authored by hhakim's avatar hhakim
Browse files

Move python requirements list into the main CMakeLists.txt to avoid undefined...

Move python requirements list into the main CMakeLists.txt to avoid undefined variable in faust.nsi (failing the install of dependencies by the generated windows installer).
parent 556e2b14
No related branches found
No related tags found
No related merge requests found
......@@ -395,6 +395,7 @@ if(BUILD_WRAPPER_PYTHON)
set(FAUST_PYTHON_SRC_SRC_DIR ${FAUST_PYTHON_SRC_DIR}/src/ CACHE INTERNAL "")
set(FAUST_PYTHON_BIN_DIR ${FAUST_BIN_WRAPPER_DIR}/python CACHE INTERNAL "")
set(FAUST_PYTHON_TARGET faust_python CACHE INTERNAL "")
set(PYFAUST_PYTHON_REQUIREMENTS "pygsp scipy numpy>=1.20 matplotlib>=2.0.0 pathlib") #ENOTE: order matters in setup.py, the last package is installed first
endif(BUILD_WRAPPER_PYTHON)
......
......@@ -9,8 +9,7 @@ set(PY_EXT_SOURCES "['${FAUST_PYTHON_BIN_DIR}/_FaustCorePy.pyx']")
set(FAUST_PYTHON_LIBS "'faust'")
set(PYFAUST_PYTHON_REQUIREMENTS "pygsp scipy numpy>=1.20 matplotlib>=2.0.0 pathlib") #ENOTE: order matters in setup.py, the last package is installed first
# PYFAUST_PYTHON_REQUIREMENTS is defined in the project root CMakeLists.txt (because it is needed for win32 faust.nsi installer script)
string(REGEX REPLACE " " "', '" PYFAUST_PYTHON_REQUIREMENTS_AS_PYLIST ${PYFAUST_PYTHON_REQUIREMENTS})
set(PYFAUST_PYTHON_REQUIREMENTS_AS_PYLIST "'${PYFAUST_PYTHON_REQUIREMENTS_AS_PYLIST}'")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment