- Feb 22, 2025
-
-
Simon Praetorius authored
-
- Feb 20, 2025
-
-
Simon Praetorius authored
-
- Nov 05, 2024
-
-
Simon Praetorius authored
-
- Apr 02, 2024
-
-
Robert K authored
to a pybind11 module.
-
- Mar 29, 2024
-
-
Robert K authored
-
- Mar 26, 2024
-
-
Robert K authored
of more cpus.
-
- Feb 28, 2023
-
- Feb 16, 2023
-
-
Christian Engwer authored
- add MPI_Comm wrapper - add conversion from mpi4py.MPI.Comm to MPI_Comm wrapper - allow to construct dune.common.Communication from mpi4py.MPI.Comm
-
- Dec 02, 2022
-
-
Andreas Dedner authored
to use during unpickling to compile modules in dune-py if not available
-
- Sep 27, 2022
-
-
Ansgar Burchardt authored
See https://reuse.software/ for a description.
-
- Nov 24, 2021
-
-
- Nov 08, 2021
-
-
Timo Koch authored
The function dune.common.registerExternalModule(module) has to be actively called in the downstream module to register an external package. This triggers the reconfiguration of dune-py in case dune-py has already been created.
-
- Oct 22, 2021
-
-
Andreas Dedner authored
- moved some parts relating to the venv out of PythonCommonMacros to Virtualenv - removed PythonMacros file - use an external active env instead of generating a new internal one. Also added some checks to avoid a user mixing up different builds within the same env - finally made some changes on how and when the dune-py module is regenerated some minor fixes [testing] ci with index-url set remove extra-index-url from pip install add a stopgap solution unti ci repo up and running again we need pip>=21 so that 'make', 'make install_python', 'make' does not mess up the packages in an external env (with older versions of pip the last 'make' wouldn't correctly remove the non editable install).
-
- Mar 02, 2021
-
-
Andreas Dedner authored
[bugfix] remove some debug output
-
- Dec 18, 2020
-
-
Andreas Dedner authored
to automate generation of metadata for setup.py for other modules [bug fix] previous commit move files around a bit to be able to use the metaData extraction from dunepackaging.py use more of the cmake variables in python/setup.py.in fix an issue in dunepackaging.py for modules without a python package - remove CMakeCache.txt file in dune-py - check that pyproject.toml file contains all dune module dependencies mentioned in dune.module to check consistency [bug fix] previous commit add dune modules from pyproject.toml to install_requires in setup.py [bug fix] previous commit added files generated when calling python setup.py sdist to git ignore list Update bin/dunepackaging.py. Add path to dunepackaging if dune-common. Append version number devDATE to -git versions and add suggestions if they have a pypi package.
-
Build shared libraries with .so suffix on Mac. Install pybind11 modules. Generate dependencies of dune-py on-demand. fixed a few issues with generating dune-py on a linux machine
-
- Apr 05, 2020
-
-
Andreas Dedner authored
-
- Apr 02, 2020
-
-
Andreas Dedner authored
add numpy, mpi4py to required packages remove some python 2 related code and fixed up some other issues pointed out by Timo deprecated old compatibility file - move Python 3 code to dune.common.utility
-
Andreas Dedner authored
move bin files and cmake modules from dune-python add sphinx support from dune-python
-
- Mar 27, 2020
-
-
Andreas Dedner authored
-
Andreas Dedner authored
-
- Feb 16, 2020
-
-
Andreas Dedner authored
This makes it possible to import "statefull" C++ objects to Python. At the moment only the constructor is available on the Python side so the object can only be used as argument for another C++ function/method. Exporting methods will be made available as well in a future version.
-
- Mar 29, 2018
-
-
The builder exceptions should be shared between different implementations of the builder interface. This patch migrates them to a separate module `dune.generator.exceptions`. For convenience they are also imported into `dune.generator` itself.
-
- Jan 29, 2018
-
-
Martin Nolte authored
This allows them to be loaded without loading the corresponding Python mdoule, avoiding circular dependencies.
-
Martin Nolte authored
This allows them to be loaded without loading the corresponding Python mdoule, avoiding circular dependencies.
-
Martin Nolte authored
-
Martin Nolte authored
This patch exports all enum-types defined in dune-grid (or added by dune-python and associated to dune-grid) to the Python namespace dune.grid. Due to the changes in dune.grid, the PartitionIteratorType is no longer required and, hence, is removed. It has been superseeded by the exported partition objects.
-
- Oct 26, 2017
-
-
Martin Nolte authored
-
- Oct 24, 2017
-
-
Martin Nolte authored
-
- Oct 20, 2017
-
-
Martin Nolte authored
-
Martin Nolte authored
-
Martin Nolte authored
-
- Oct 18, 2017
-
-
Andreas Dedner authored
-
- Oct 04, 2017
-
-
Christoph Grüninger authored
-
- Jun 28, 2017
-
-
Martin Nolte authored
Building Python modules through Pybind11 is a recurring task in our Python bindings. To reduce maintainance in the build system, we introduce a CMake function "dune_add_pybind11_module", which is semantically inspired by the "dune_add_test" function.
-
- Mar 17, 2017
-
-
Martin Nolte authored
This module simply imports everything from cPickle or pickle, depending on the Python version.
-
- Feb 23, 2017
-
-
Andreas Dedner authored
included for this function
-
- Feb 06, 2017
-
-
Martin Nolte authored
-
Martin Nolte authored
-
- Sep 30, 2016
-
-
Andreas Dedner authored
of a HAVE_FOO in config.h can be tested for. A possible usage is shown in spgrid/_grid.py Other checks can be added in a similar manner
-