Skip to content
Snippets Groups Projects
Commit 7de31aa7 authored by Mathis Kelm's avatar Mathis Kelm
Browse files

[python] Delete setup scripts

parent fd1de189
No related branches found
No related tags found
1 merge request!3425Cleanup python setup for dune 2.9 and newer
Checking pipeline status
add_subdirectory(dumux) add_subdirectory(dumux)
configure_file(setup.py.in setup.py)
# link properties.hh needed by the Python bindings # link properties.hh needed by the Python bindings
# to determine the list of properties # to determine the list of properties
......
#!/bin/bash
# Adds all Python modules found in other Dune modules to the PYTHONPATH
./dune-common/bin/dunecontrol bexec "echo -n :\$(pwd)/python >> $(pwd)/pythonpath.txt"
export PYTHONPATH=$PYTHONPATH$(cat pythonpath.txt)
rm pythonpath.txt
# Sets up the dune-py module for JIT compilation of Python binding code
./dune-common/bin/setup-dunepy.py --opts=cmake.opts install
from setuptools import setup, find_packages
REQUIRED_PACKAGES = '${RequiredPythonModules}'.replace(';',' ').split(' ')
setup(
name="${ProjectName}",
description="${ProjectDescription}",
version="${ProjectVersionString}",
author="${ProjectAuthor}",
author_email="${ProjectMaintainerEmail}",
packages=find_packages(),
zip_safe=0,
package_data={"": ["*.so"], "dumux": ["data/*.cmake"]},
install_requires=REQUIRED_PACKAGES,
include_package_data=True,
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment