-
- Downloads
Add dunepackaging script.
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
Showing
- bin/CMakeLists.txt 1 addition, 0 deletionsbin/CMakeLists.txt
- bin/dunepackaging.py 207 additions, 0 deletionsbin/dunepackaging.py
- dune-common.pc.in 2 additions, 2 deletionsdune-common.pc.in
- dune.module 3 additions, 0 deletionsdune.module
- pyproject.toml 0 additions, 3 deletionspyproject.toml
- python/dune/common/module.py 21 additions, 0 deletionspython/dune/common/module.py
- python/setup.py.in 1 addition, 1 deletionpython/setup.py.in
- setup.py 0 additions, 36 deletionssetup.py
bin/dunepackaging.py
0 → 100755
pyproject.toml
deleted
100644 → 0
setup.py
deleted
100644 → 0
Please register or sign in to comment