Skip to content
Snippets Groups Projects
  1. Dec 18, 2020
    • Andreas Dedner's avatar
      use correct flags to disable documentation · 44b51c19
      Andreas Dedner authored
      add option to `dunepackaging` script to only build sdist but not upload
      
      exti with code 0 in dunepackaging.py -c so it can be used with dunecontrol
      44b51c19
    • Samuel Burbulla's avatar
      Checkout in removeFiles. · c3309e63
      Samuel Burbulla authored and Andreas Dedner's avatar Andreas Dedner committed
      c3309e63
    • Andreas Dedner's avatar
      add a `duneactivate` script to `bin` that can be used instead of `activate` to · c16c45fb
      Andreas Dedner authored
      also set the `LD_LIBRARY_PATH`
      
      [bugfix] used the wrong way to access the path to a sourced script - was working by chance
      c16c45fb
    • Samuel Burbulla's avatar
      Store setup.py and pyproject.toml when uploading modules. · 91158b30
      Samuel Burbulla authored and Andreas Dedner's avatar Andreas Dedner committed
      make setup-dunepy.py work again without an installed dune-common
      
      remove unused default cmake options for building dune-py
      
      Add git checkout setup.py pyproject.toml to dunepackaging -c.
      91158b30
    • Samuel Burbulla's avatar
      Remove AUTHOR. · 461f63ed
      Samuel Burbulla authored and Andreas Dedner's avatar Andreas Dedner committed
      Remove dynamic lookup stuff for macos.
      
      Replace ProjectAuthorEmail by ProjectMaintainerEmail.
      461f63ed
    • Samuel Burbulla's avatar
      Improve dependency generation. · 54975a36
      Samuel Burbulla authored and Andreas Dedner's avatar Andreas Dedner committed
      54975a36
    • Andreas Dedner's avatar
      make it possible to use setup.py without having an installed dune-common... · 9485e0b3
      Andreas Dedner authored
      make it possible to use setup.py without having an installed dune-common python package. This requires having the PYTHONPATH set as it is now done in dune-common/bin/dunepackaging.py
      
      [bugfix] previous commit
      
      [bugfix] previous commit
      
      set the correct 'prefix' in the pc files if SKBUILD is set, i.e.,
      a wheel is being build using scikit-build
      9485e0b3
    • 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
      Include dev versions in dependencies. · c85c3746
      Samuel Burbulla authored and Andreas Dedner's avatar Andreas Dedner committed
      c85c3746
    • Samuel Burbulla's avatar
      Add Python-Requires and set CMAKE variables. · acc482d3
      Samuel Burbulla authored and Andreas Dedner's avatar Andreas Dedner committed
      acc482d3
    • Samuel Burbulla's avatar
      Add dunepackaging script. · 3fa4592c
      Samuel Burbulla authored and Andreas Dedner's avatar Andreas Dedner committed
      Remove __pycache__.
      
      Add CMAKE_MACOSX_RPATH=TRUE.
      
      experiment with extracting required meta data for generating setup.py from
      - dune.module file
      - pkg_resource
      This version does not require an extra project.py file but does assume that
      the python module for which setup.py is to be generated is installed. Also dune.common
      must be available:
      - dune.common.module.Description class is used to parse dune.module file
      - pkg_resource is used to extract additional metadata information (as provided by
        python/setup.py.in) requiring the module to be installed. This data is
        'description' ('Summary'), 'url' ('home-page'), 'author', and the install_requires.
        At the moment this will fail e.g. for dune-localfunctions which has no python
        package. We could decide to add the required information to dune.module and use
        replacements in python/setup.py.in instead.
      
      Parse meta data from dune.module and setup.py.in.
      
      add a try except around trying to open python/setup.py.in
      3fa4592c
    • 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
  2. Dec 09, 2020
  3. Nov 25, 2020
  4. Nov 19, 2020
  5. Nov 18, 2020
  6. Nov 15, 2020
  7. Nov 14, 2020
  8. Nov 13, 2020
  9. Nov 06, 2020
  10. Nov 05, 2020
  11. Nov 04, 2020
    • Carsten Gräser's avatar
      db84b3f0
    • Carsten Gräser's avatar
      Add wrapper representing the transposed of a matrix · ebba9737
      Carsten Gräser authored
      Currently the wrapper only implements
      ```cpp
      auto c = a*transpose(b);
      ```
      if `a` is a `FieldMatrix* of appropriate size. This is
      optimal even for sparse `b` because it only relies on
      calling `b.mv(a[i], c[i])` for the rows of `a`. More
      functionality may be added later on.
      
      Since the created object only stores a reference
      to the wrapped matrix, it cannot be modified and
      should not be stored but used directly.
      
      The classical application is doing a local-to-global
      transformation of the Jacobians of a local finite element.
      ```cpp
      auto jacobian = referenceJacobian * transpose(geometry.inverseJacobianTransposed(xLocal));
      ```
      ebba9737
  12. Oct 31, 2020
  13. Oct 30, 2020
  14. Oct 29, 2020
  15. Oct 28, 2020
Loading