From cc58c2dd882b88cf0efe9f656e3d58aec0da4d5e Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sat, 17 Dec 2022 13:26:28 -0800 Subject: [PATCH] build/pkgs/sagelib/spkg-src: Use build --- build/pkgs/sagelib/spkg-src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/pkgs/sagelib/spkg-src b/build/pkgs/sagelib/spkg-src index db4e2682ba1..f97a0322de9 100755 --- a/build/pkgs/sagelib/spkg-src +++ b/build/pkgs/sagelib/spkg-src @@ -4,7 +4,7 @@ # This script is not used during build. # # HOW TO MAKE THE TARBALL: -# ./sage --sh build/pkgs/sagelib/spkg-src +# make python_build && ./sage --sh build/pkgs/sagelib/spkg-src if [ -z "$SAGE_ROOT" ] ; then echo >&2 "Error - SAGE_ROOT undefined ... exiting" @@ -18,4 +18,4 @@ set -e cd "$SAGE_ROOT"/build/pkgs/sagelib cd src -python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES" +python3 -m build --sdist --outdir "$SAGE_DISTFILES"