cmake: python.cmake venv fixup
This commit is contained in:
@@ -833,7 +833,7 @@ if(BUILD_VENV)
|
||||
# Must NOT call it in a folder containing the setup.py otherwise pip call it
|
||||
# (i.e. "python setup.py bdist") while we want to consume the wheel package
|
||||
COMMAND ${VENV_Python3_EXECUTABLE} -m pip install
|
||||
--find-links=${CMAKE_CURRENT_BINARY_DIR}/python/dist ${PYTHON_PROJECT}==${PROJECT_VERSION}
|
||||
--find-links=${CMAKE_CURRENT_BINARY_DIR}/python/dist ${PYTHON_PROJECT}==${PROJECT_VERSION}${PYTHON_RELEASE}
|
||||
# install modules only required to run examples
|
||||
COMMAND ${VENV_Python3_EXECUTABLE} -m pip install
|
||||
pandas matplotlib pytest scipy svgwrite
|
||||
|
||||
Reference in New Issue
Block a user