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

Commit

Permalink
build/pkgs/sagelib/spkg-src: New
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Jun 28, 2020
1 parent 14396af commit cdf501f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions build/pkgs/sagelib/spkg-src
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
#
# Script to prepare an sdist tarball for sagelib
# This script is not used during build.
#
# HOW TO MAKE THE TARBALL:
# ./sage --sh build/pkgs/sagelib/spkg-src

if [ -z "$SAGE_ROOT" ] ; then
echo >&2 "Error - SAGE_ROOT undefined ... exiting"
echo >&2 "Maybe run 'sage -sh'?"
exit 1
fi

# Exit on failure
set -e

cd build/pkgs/sagelib

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

0 comments on commit cdf501f

Please sign in to comment.