Commit 63b0d7ef authored by Andreas Dedner's avatar Andreas Dedner

[!137] remove dune/python/utility - file moved to common

Merge branch 'feature/removeDuneUtility' into 'master'

See merge request [staging/dune-python!137]

  [staging/dune-python!137]: Nonestaging/dune-python/merge_requests/137
parents dc66eb44 5e997487
......@@ -13,4 +13,3 @@ add_subdirectory(functions)
add_subdirectory(localfunctions)
add_subdirectory(istl)
add_subdirectory(pybind11)
add_subdirectory(utility)
......@@ -26,7 +26,7 @@
#include <dune/python/grid/range.hh>
#include <dune/python/grid/vtk.hh>
#include <dune/python/grid/capabilities.hh>
#include <dune/python/utility/numpycommdatahandle.hh>
#include <dune/python/common/numpycommdatahandle.hh>
#include <dune/python/pybind11/pybind11.h>
......
......@@ -10,7 +10,7 @@
#include <dune/python/grid/commops.hh>
#include <dune/python/grid/range.hh>
#include <dune/python/utility/numpycommdatahandle.hh>
#include <dune/python/common/numpycommdatahandle.hh>
#include <dune/python/common/typeregistry.hh>
#include <dune/python/pybind11/pybind11.h>
......
set(HEADERS
numpycommdatahandle.hh
)
install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/python/utility)
......@@ -5,7 +5,7 @@ from dune.common.hashit import hashIt
generator = SimpleGenerator("DataHandle", "Dune::Python")
def load(includes, typeName, *args):
includes = includes + ["dune/python/utility/numpycommdatahandle.hh"]
includes = includes + ["dune/python/common/numpycommdatahandle.hh"]
moduleName = "numpycommdatahandle_" + hashIt(typeName)
return generator.load(includes, typeName, moduleName, *args)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment