- Dec 18, 2020
-
-
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
-
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.
-
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
-
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
-