Skip to content
Snippets Groups Projects
  1. Feb 22, 2025
  2. Feb 20, 2025
  3. Nov 05, 2024
  4. Apr 02, 2024
  5. Mar 29, 2024
  6. Mar 26, 2024
  7. Feb 28, 2023
  8. Feb 16, 2023
  9. Dec 02, 2022
  10. Sep 27, 2022
  11. Nov 24, 2021
  12. Nov 08, 2021
  13. Oct 22, 2021
    • Andreas Dedner's avatar
      refactored the python cmake module files: · 875ee5f8
      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).
      875ee5f8
  14. Mar 02, 2021
  15. Dec 18, 2020
    • Andreas Dedner's avatar
      move part of dunepackaging.py to python/dune/common/dunepackaging.py · 5d15ffc7
      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.
      5d15ffc7
    • Samuel Burbulla's avatar
      Initial version. · f6e0ff15
      Samuel Burbulla authored and Andreas Dedner's avatar Andreas Dedner committed
      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
      f6e0ff15
  16. Apr 05, 2020
  17. Apr 02, 2020
    • Andreas Dedner's avatar
      use correct version number for python package · a617e4cf
      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
      a617e4cf
    • Andreas Dedner's avatar
      fix dune/python · e9e814a4
      Andreas Dedner authored
      move bin files and cmake modules from dune-python
      add sphinx support from dune-python
      e9e814a4
  18. Mar 27, 2020
  19. Feb 16, 2020
    • Andreas Dedner's avatar
      added a function to import a c++ class similar to the 'algorithm'. · 394cc15a
      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.
      394cc15a
  20. Mar 29, 2018
  21. Jan 29, 2018
  22. Oct 26, 2017
  23. Oct 24, 2017
  24. Oct 20, 2017
  25. Oct 18, 2017
  26. Oct 04, 2017
  27. Jun 28, 2017
    • Martin Nolte's avatar
      [cmake] add macro dune_add_pybind11_module · f0b71e8f
      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.
      f0b71e8f
  28. Mar 17, 2017
  29. Feb 23, 2017
  30. Feb 06, 2017
  31. Sep 30, 2016
Loading