#7355: Allow sage -i/-f to install packages without stating version number.
---------------------------+------------------------------------------------
Reporter: timdumol | Owner: tbd
Type: enhancement | Status: needs_review
Priority: minor | Milestone:
Component: packages | Keywords:
Work_issues: | Author:
Reviewer: | Merged:
---------------------------+------------------------------------------------
Comment(by ddrake):
Right now this doesn't quite work: your sage-latest-online-version prints
things with ".spkg" on the end, and that confuses sage-spkg. One fix is to
change the line
{{{
v = list(set([x.strip() for x in r if x.endswith('.spkg')]))
}}}
to
{{{
v = list(set([x.strip()[:-5] for x in r if x.endswith('.spkg')]))
}}}
to strip off the .spkg at the end.
I'll work on a review this weekend, I hope.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7355#comment:2>
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---