#19213: For packages listed in build/pkgs/piprules, allow 'sage --optional' to
list
them
-------------------------------------+-------------------------------------
Reporter: jhpalmieri | Owner:
Type: enhancement | Status: needs_work
Priority: minor | Milestone: sage-6.9
Component: scripts | Resolution:
Keywords: | Merged in:
Authors: John Palmieri | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jhpalmieri/pip_packages | 00224aafc17efcb3a4d5504bdbcf036fae5bca57
Dependencies: #19187 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by vdelecroix):
I have a working version of `sage-list-packages` doing
{{{
$ ./sage-list-packages python
[package] .............................. [latest version] ([installed
version])
beautifulsoup........................... 3.2.1 (3.2.1)
biopython............................... 1.65 (1.65)
brian................................... 1.4.1 (1.4.1)
guppy................................... 0.1.10 (0.1.10)
mercurial............................... 3.5.1 (3.5.1)
mpi4py.................................. 1.3.1 (1.3.1)
nibabel................................. 2.0.1 (2.0.1)
pybtex.................................. 0.18 (0.18)
pyflakes................................ 0.9.2 (0.9.2)
pyopenssl............................... 0.15.1 (0.15.1)
sqlalchemy.............................. 1.0.8 (1.0.8)
trac.................................... 1.0.9 (1.0.9)
}}}
The only problem is that it is relatively long to get the information from
the pip json API for all the packages. Perhaps, one can be smarter with
`urllib2`.
John, am I free to change the branch in order to make my proposition
publicly available?
Vincent
--
Ticket URL: <http://trac.sagemath.org/ticket/19213#comment:10>
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.