#19187: Add rules for installing packages with pip
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: needs_work
Priority: critical | Milestone: sage-6.9
Component: build | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers: Vincent Delecroix
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/ticket/19187 | fdba3ee0772b1885c3f60cb35f850fee576a7f9a
Dependencies: #19119 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jhpalmieri):
This might be a little ugly:
{{{
#!diff
diff --git a/build/make/install b/build/make/install
index 7469661..a164fc4 100755
--- a/build/make/install
+++ b/build/make/install
@@ -473,7 +473,7 @@ while read PKG_NAME; do
# Add a target to remove the "installed" file for "sage -f"
echo >&5 "$PKG_NAME-clean:"
- echo >&5 " sage --pip uninstall -y $PKG_NAME"
+ echo >&5 " sage --pip list | grep $PKG_NAME && sage --pip uninstall
-y $PKG_NAME || :"
echo >&5
done <"$SAGE_ROOT/build/pkgs/piprules"
}}}
Or the same but omitting `sage --pip list | grep $PKG_NAME &&`.
--
Ticket URL: <http://trac.sagemath.org/ticket/19187#comment:30>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.