"img/pystencils_arch_block_diagram.svg" did not exist on "8658a203aeb9aa69a464fc59124ce83cc74077ab"
Adding option to automatically installation
All threads resolved!
All threads resolved!
Files
4- Christoph Alt authored
@@ -3,9 +3,6 @@ Find-Module for pystencils-sfg.
@@ -3,9 +3,6 @@ Find-Module for pystencils-sfg.
If the cache CODEGEN_PRIVATE_VENV is true, it will try to create to a own python venv and install the requirements from `CODEGEN_VENV_REQUIREMENTS`.
If this file does not exists it will download pystencilssfg and pystencils from `PystencilsSfg_URL` and `Pystencils_URL`
@@ -17,66 +14,11 @@ If none of these is set, a Python interpreter will be selected using the `FindPy
@@ -17,66 +14,11 @@ If none of these is set, a Python interpreter will be selected using the `FindPy
set(CODEGEN_VENV_PATH ${CMAKE_CURRENT_BINARY_DIR}/codegen-venv CACHE PATH "Location of the virtual environment used for code generation")
set(CODEGEN_VENV_REQUIREMENTS ${PROJECT_SOURCE_DIR}/requirements.txt CACHE FILEPATH "Location of the requirements installed in the virtual environment used for code generation")
execute_process( COMMAND ${_venv_python_exe} -m pip install -r ${CODEGEN_VENV_REQUIREMENTS} OUTPUT_QUIET)
set(Pystencils_URL "git+https://i10git.cs.fau.de/pycodegen/pystencils.git@v2.0-dev" CACHE STRING "Location of pystencils to installed in the virtual environment used for code generation")
set(PystencilsSfg_URL "git+https://i10git.cs.fau.de/pycodegen/pystencils-sfg.git" CACHE STRING "Location of pystencils-sfg to installed in the virtual environment used for code generation")