From 7de31aa7dbf4cf3112dd2cb0a051c0e9e3a3d041 Mon Sep 17 00:00:00 2001 From: Mathis Kelm <mathis.kelm@iws.uni-stuttgart.de> Date: Tue, 7 Mar 2023 17:15:01 +0100 Subject: [PATCH] [python] Delete setup scripts --- python/CMakeLists.txt | 1 - python/setup-python-env.sh | 7 ------- python/setup.py.in | 16 ---------------- 3 files changed, 24 deletions(-) delete mode 100755 python/setup-python-env.sh delete mode 100644 python/setup.py.in diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index c7624fad9e..700252c505 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -1,5 +1,4 @@ add_subdirectory(dumux) -configure_file(setup.py.in setup.py) # link properties.hh needed by the Python bindings # to determine the list of properties diff --git a/python/setup-python-env.sh b/python/setup-python-env.sh deleted file mode 100755 index f99c549c7a..0000000000 --- a/python/setup-python-env.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/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 diff --git a/python/setup.py.in b/python/setup.py.in deleted file mode 100644 index 1ec54395ef..0000000000 --- a/python/setup.py.in +++ /dev/null @@ -1,16 +0,0 @@ -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, -) -- GitLab