Skip to content
Snippets Groups Projects
Commit bbbb9fe7 authored by Martin Nolte's avatar Martin Nolte
Browse files

[cmake] use infrastructure in dune-common to build Python packages

In dune-common 2.6+ the infrastructure for creating Python packages is
included. This patch replaces our own infrastructure by the core
implementation
parent 51aa8b3f
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,9 @@ add_subdirectory(utils)
if(dune-corepy_FOUND)
add_subdirectory(python)
if(NOT (${DUNE_COMMON_VERSION} VERSION_LESS 2.6))
dune_python_install_package(PATH "python")
endif()
endif()
# finalize the dune project, e.g., generate config.h etc.
......
add_subdirectory(dune)
configure_file(setup.py.in setup.py)
if(NOT (${DUNE_COMMON_VERSION} VERSION_LESS 2.6))
configure_file(setup.py.in setup.py)
endif()
......@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(name="dune.alugrid",
namespace_packages=['dune'],
description="Python lib for dune: dune-alugrid library",
version="2.4",
version="${DUNE_ALUGRID_VERSION}",
author="Andreas Dedner and Martin Nolte",
packages = find_packages(),
zip_safe = 0,
......
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