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

Commit

Permalink
build/pkgs/sage_conf/spkg-install: Install with setup.py instead of pip
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jul 4, 2020
1 parent 6bc0cd4 commit 5e6ca95
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions build/pkgs/sage_conf/spkg-install
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
#! /usr/bin/env bash
# From sage-spkg.
# For type=script packages, the build rule in build/make/Makefile sources
# sage-env but not sage-dist-helpers.
lib="$SAGE_ROOT/build/bin/sage-dist-helpers"
source "$lib"
if [ $? -ne 0 ]; then
echo >&2 "Error: failed to source $lib"
echo >&2 "Is $SAGE_ROOT the correct SAGE_ROOT?"
exit 1
fi
cd src && sdh_pip_install .
#!/usr/bin/env bash
cd src
# We install directly with setuptools, not with pip, because pip does not handle our symlinks correctly.
# An alternative would be to build an sdist and then to install the sdist using pip.
sage-python23 -u setup.py --no-user-cfg install --single-version-externally-managed --root=/

0 comments on commit 5e6ca95

Please sign in to comment.