Skip to content
Snippets Groups Projects
Commit 278a3151 authored by René Fritze's avatar René Fritze Committed by René Milk
Browse files

[py] allow using pure python modules w/o c++ bindings built

parent bc324456
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,14 @@
# ~~~
import dune.xt
from dune.xt._grid import *
try:
from dune.xt._grid import *
except ImportError as e:
import os
import logging
if os.environ.get('DXT_PYTHON_DEBUG', False):
raise e
logging.error('dune-xt-grid bindings not available')
HAVE_DUNE_ALUGRID = 'GridProvider__2d_simplex_aluconform' in globals()
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