changeset 52703:1ce66ca747fc

wheels: use PyPA build
author Pierre Augier <pierre.augier@univ-grenoble-alpes.fr>
date Mon, 13 Jan 2025 16:44:23 +0100
parents 9ec635cc0a29
children 6061c9b8e318
files contrib/build-one-linux-wheel.sh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/build-one-linux-wheel.sh	Mon Jan 13 15:52:31 2025 +0100
+++ b/contrib/build-one-linux-wheel.sh	Mon Jan 13 16:44:23 2025 +0100
@@ -23,6 +23,7 @@
 if [ -e $tmp_wheel_dir ]; then
     rm -rf $tmp_wheel_dir
 fi
-/opt/python/$py_tag/bin/python setup.py bdist_wheel --dist-dir $tmp_wheel_dir
+/opt/python/$py_tag/bin/python -m pip install build
+/opt/python/$py_tag/bin/python -m build --outdir $tmp_wheel_dir
 # adjust it to make it universal
 auditwheel repair $tmp_wheel_dir/*.whl -w $destination_directory