From 74d270731decf827a5410abccdba061c9049e822 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de> Date: Mon, 22 Apr 2024 11:26:00 +0200 Subject: [PATCH] Revert "rm pyproject.toml, mv contents to setup.py" This reverts commit 0fa3bbe55243d4308f55a8586c87414a98d27a8e. --- Wrap/Python/pyproject.toml | 23 +++++++++++++++++++++++ Wrap/Python/setup.py.in | 2 -- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 Wrap/Python/pyproject.toml diff --git a/Wrap/Python/pyproject.toml b/Wrap/Python/pyproject.toml new file mode 100644 index 00000000000..65d9ec779ca --- /dev/null +++ b/Wrap/Python/pyproject.toml @@ -0,0 +1,23 @@ +# ************************************************************************** # +# BornAgain: simulate and fit reflection and scattering +# +# @file pyproject.toml +# @brief Python wheel configuration, read by MakePythonWheel.cmake. +# +# @homepage http://apps.jcns.fz-juelich.de/BornAgain +# @license GNU General Public License v3 or higher (see COPYING) +# @copyright Forschungszentrum Juelich GmbH 2016 +# @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS) +# ************************************************************************** # + +[build-system] +# Packages required for building the current package +# (NOTE: listing something here will only make it available +# during the build, not after it is installed): +requires = [ + "setuptools>=40", + "wheel" # python3-wheel +] + +# Name of Python object that will be used to perform the build: +build-backend = "setuptools.build_meta" diff --git a/Wrap/Python/setup.py.in b/Wrap/Python/setup.py.in index ccfec85065b..56df5619ba6 100644 --- a/Wrap/Python/setup.py.in +++ b/Wrap/Python/setup.py.in @@ -4,8 +4,6 @@ import setuptools if __name__ == "__main__": setuptools.setup( - install_requires=["setuptools>=40", "wheel"], - build_backend='setuptools.build_meta', package_data={'bornagain': ['@PY_OUTPUT_DIR@/CITATION', '@PY_OUTPUT_DIR@/src/bornagain/lib/*.so', '@PY_OUTPUT_DIR@/src/bornagain/lib/*.so.*', -- GitLab