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

Commit

Permalink
m4/sage_spkg_collect.m4: Do not include script packages in SAGE_SDIST…
Browse files Browse the repository at this point in the history
…_PACKAGES
  • Loading branch information
Matthias Koeppe committed Jul 13, 2020
1 parent 467fbc7 commit a17c655
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions m4/sage_spkg_collect.m4
Original file line number Diff line number Diff line change
Expand Up @@ -240,25 +240,27 @@ for DIR in $SAGE_ROOT/build/pkgs/*; do
# Packages that should be included in the source distribution
# This includes all standard packages and two special cases
case "$SPKG_NAME" in
mpir|python2)
mpir)
in_sdist=yes
;;
esac
if test "$in_sdist" = yes; then
SAGE_SDIST_PACKAGES="${SAGE_SDIST_PACKAGES} \\$(printf '\n ')${SPKG_NAME}"
fi
# Determine package source
#
if test -f "$DIR/requirements.txt"; then
SPKG_SOURCE=pip
in_sdist=no
elif test ! -f "$DIR/checksums.ini"; then
SPKG_SOURCE=script
in_sdist=no
else
SPKG_SOURCE=normal
fi
if test "$in_sdist" = yes; then
SAGE_SDIST_PACKAGES="${SAGE_SDIST_PACKAGES} \\$(printf '\n ')${SPKG_NAME}"
fi
# Determine package dependencies
#
DEP_FILE="$DIR/dependencies"
Expand Down

0 comments on commit a17c655

Please sign in to comment.