diff --git a/CMakeLists.txt b/CMakeLists.txt index e7ab965f0024f104cfa5a156df6d5eec1c1cfc67..1cdf18fd2ca7d237c6d046c5ceda67ee93ebf9c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,8 @@ list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/modules" #include the dune macros include(DuneMacros) +set(DUNE_PYTHON_INSTALL_EDITABLE 1) + # start a dune project with information from dune.module dune_project() dune_enable_all_packages() diff --git a/python/dune/perftool/compile.py b/python/dune/perftool/compile.py index d5427fa6fe15f98d10ab0e3e491abc0ae7697432..cb37ad6482b19521a898800489e7ca8c991ca64d 100644 --- a/python/dune/perftool/compile.py +++ b/python/dune/perftool/compile.py @@ -57,7 +57,7 @@ def read_ufl(uflfile): namespace = globals() ini = get_option("ini_file") if ini: - from dune.common.parametertree.parser import parse_ini_file + from dune.testtools.parametertree.parser import parse_ini_file ini = parse_ini_file(ini) for k, v in ini.get("formcompiler.ufl_variants", {}).items(): diff --git a/python/dune/perftool/options.py b/python/dune/perftool/options.py index 9f75b3cebf075ab3dc6280f0d563bf9e039b9597..3adae85bd54d1879d34518b872a4c06eaeafb863 100644 --- a/python/dune/perftool/options.py +++ b/python/dune/perftool/options.py @@ -4,7 +4,7 @@ from argparse import ArgumentParser from os import path from pytools import memoize -from dune.common.parametertree.parser import parse_ini_file +from dune.testtools.parametertree.parser import parse_ini_file @memoize