-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- implement virtual environment within feelpp - use tqdm for toolbox iterations if available - show how to load proper preset in dev mode if needed in notebooks /cc @thomas-saigre @alielarif
- Loading branch information
Showing
12 changed files
with
266,408 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -188,3 +188,4 @@ mor/examples/heat3d/heat3dapp.cpp | |
**/crbdb | ||
**/feelppdb | ||
conftest.o | ||
python/notebooks/feelpp-python/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# ## CMakeLists.txt; coding: utf-8 --- | ||
|
||
#set(PYFILES conftest.py) | ||
#install(FILES ${PYFILES} DESTINATION ${FEELPP_PYTHON_MODULE_PATH}/feelpp) | ||
|
||
add_custom_target(notebooks) | ||
add_dependencies(notebooks venv) | ||
add_test(NAME notebook-feelpp1 | ||
COMMAND #${CMAKE_COMMAND} -E env LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}:$ENV{LD_LIBRARY_PATH} PYTHONPATH=${CMAKE_INSTALL_PREFIX}/${FEELPP_PYTHON_MODULE_PATH} | ||
${PYTHON} -m pytest -s --nbmake ${CMAKE_CURRENT_SOURCE_DIR}/feelpp1.ipynb | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} | ||
) | ||
add_test(NAME notebook-feelpp2 | ||
COMMAND # ${CMAKE_COMMAND} -E env LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}:$ENV{LD_LIBRARY_PATH} PYTHONPATH=${CMAKE_INSTALL_PREFIX}/${FEELPP_PYTHON_MODULE_PATH} | ||
${PYTHON} -m pytest -s --nbmake ${CMAKE_CURRENT_SOURCE_DIR}/feelpp2.ipynb | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} | ||
) | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
c299de6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and #2054