Skip to content
Snippets Groups Projects
Commit 23b90512 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

Fixups -> generation works

parent db9f6566
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,8 @@ list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/modules" ...@@ -15,6 +15,8 @@ list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/modules"
#include the dune macros #include the dune macros
include(DuneMacros) include(DuneMacros)
set(DUNE_PYTHON_INSTALL_EDITABLE 1)
# start a dune project with information from dune.module # start a dune project with information from dune.module
dune_project() dune_project()
dune_enable_all_packages() dune_enable_all_packages()
......
...@@ -57,7 +57,7 @@ def read_ufl(uflfile): ...@@ -57,7 +57,7 @@ def read_ufl(uflfile):
namespace = globals() namespace = globals()
ini = get_option("ini_file") ini = get_option("ini_file")
if ini: 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) ini = parse_ini_file(ini)
for k, v in ini.get("formcompiler.ufl_variants", {}).items(): for k, v in ini.get("formcompiler.ufl_variants", {}).items():
......
...@@ -4,7 +4,7 @@ from argparse import ArgumentParser ...@@ -4,7 +4,7 @@ from argparse import ArgumentParser
from os import path from os import path
from pytools import memoize from pytools import memoize
from dune.common.parametertree.parser import parse_ini_file from dune.testtools.parametertree.parser import parse_ini_file
@memoize @memoize
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment