Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
build/pkgs/sagemath*/spkg-src: Use build
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Dec 19, 2022
1 parent 2b39b3d commit c59622a
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 9 deletions.
5 changes: 4 additions & 1 deletion build/pkgs/sage_conf/spkg-src
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@ fi
set -e

cd pkgs/sage-conf_pypi
python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES"
# Get rid of old *.egg-info/SOURCES.txt
rm -Rf *.egg-info

python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"
5 changes: 4 additions & 1 deletion build/pkgs/sage_docbuild/spkg-src
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ set -e
cd build/pkgs/sage_docbuild

cd src
python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES"
# Get rid of old *.egg-info/SOURCES.txt
rm -Rf *.egg-info

python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"
5 changes: 4 additions & 1 deletion build/pkgs/sage_setup/spkg-src
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ set -e
cd build/pkgs/sage_setup

cd src
python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES"
# Get rid of old *.egg-info/SOURCES.txt
rm -Rf *.egg-info

python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"
5 changes: 4 additions & 1 deletion build/pkgs/sage_sws2rst/spkg-src
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ set -e
cd build/pkgs/sage_sws2rst

cd src
python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES"
# Get rid of old *.egg-info/SOURCES.txt
rm -Rf *.egg-info

python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"
2 changes: 1 addition & 1 deletion build/pkgs/sagelib/spkg-src
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cd "$SAGE_ROOT"/build/pkgs/sagelib

cd src

# Get rid of old sagemath_standard.egg-info/SOURCES.txt
# Get rid of old *.egg-info/SOURCES.txt
rm -Rf *.egg-info

python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"
5 changes: 4 additions & 1 deletion build/pkgs/sagemath_categories/spkg-src
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ set -e
cd build/pkgs/sagemath_categories

cd src
python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES"
# Get rid of old *.egg-info/SOURCES.txt
rm -Rf *.egg-info

python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"
5 changes: 4 additions & 1 deletion build/pkgs/sagemath_environment/spkg-src
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ set -e
cd build/pkgs/sagemath_environment

cd src
python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES"
# Get rid of old *.egg-info/SOURCES.txt
rm -Rf *.egg-info

python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"
6 changes: 5 additions & 1 deletion build/pkgs/sagemath_objects/spkg-src
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ set -e
cd build/pkgs/sagemath_objects

cd src
python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES"

# Get rid of old *.egg-info/SOURCES.txt
rm -Rf *.egg-info

python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"
5 changes: 4 additions & 1 deletion build/pkgs/sagemath_repl/spkg-src
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ set -e
cd build/pkgs/sagemath_repl

cd src
python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES"
# Get rid of old *.egg-info/SOURCES.txt
rm -Rf *.egg-info

python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"

0 comments on commit c59622a

Please sign in to comment.