diff --git a/cmake/modules/DunePerftoolMacros.cmake b/cmake/modules/DunePerftoolMacros.cmake index cf528aebd842eda428bf6cd9f46c8338c4e631f9..9a08aad70ca40d950dad9aab4cecf141f933bdb7 100644 --- a/cmake/modules/DunePerftoolMacros.cmake +++ b/cmake/modules/DunePerftoolMacros.cmake @@ -102,7 +102,7 @@ function(add_generated_executable) configure_file(${CMAKE_SOURCE_DIR}/cmake/modules/StandardMain.cmake ${GEN_MAIN}) add_custom_command(OUTPUT ${GEN_OPERATOR} ${GEN_DRIVER} - COMMAND ${CMAKE_BINARY_DIR}/dune-env-2 ufl2pdelab + COMMAND ${CMAKE_BINARY_DIR}/dune-env ufl2pdelab --project-basedir ${CMAKE_BINARY_DIR} --operator-file ${GEN_OPERATOR} --driver-file ${GEN_DRIVER} diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 37b9ba86cfef9819a7a95659f1b43d3f43cdc85a..0ac8b6666a462bad17e4ba8e464daee44c8ad76b 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -10,16 +10,13 @@ create_virtualenv_wrapper(ENVPATH ${dune-python_DIR}/python2-env NAME notebook) # Install all the external packages that we have as submodules +dune_install_python_package(PATH pymbolic) +dune_install_python_package(PATH cgen) +dune_install_python_package(PATH loopy) +dune_install_python_package(PATH ufl) -dune_install_python_package(PATH pymbolic MAJOR_VERSION 2) -# islpy has some serious bug: it cannot be installed with pip -dune_install_python_package(PATH cgen MAJOR_VERSION 2) -# --no-deps to avoid reinstallation of islpy through pip...argh! -dune_install_python_package(PATH loopy MAJOR_VERSION 2 ADDITIONAL_PIP_PARAMS --no-deps) -dune_install_python_package(PATH ufl MAJOR_VERSION 2) - -# Install out python package -dune_install_python_package(PATH . MAJOR_VERSION 2) +# Install our python package +dune_install_python_package(PATH .) add_python_test_command(COMMAND python -m pytest --pep8 VIRTUALENV dune-env-2 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/python/dune/perftool diff --git a/python/setup.py b/python/setup.py index 2ef4dc99c468ab2b4b686e80d12f005a46013d5d..6d7a069d67c68e51d00f667ca123bf44210620cf 100644 --- a/python/setup.py +++ b/python/setup.py @@ -30,7 +30,7 @@ setup(name='dune.perftool', author='Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de>', url='http://conan2.iwr.uni-heidelberg.de/git/dominic/dune-perftool', packages=['dune.perftool'], - install_requires=['sympy'], + install_requires=['dune.testtools', 'sympy'], tests_require=['pytest'], cmdclass={'test': PyTest}, entry_points = {