#17155: add "sage -installed" and "sage -pip" commands
-------------------------------------+-------------------------------------
       Reporter:  vdelecroix         |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  scripts            |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Vincent Delecroix  |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vdelecroix/17155                 |  4bf23308777288b5a829b18b153367ea0b7a2250
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 Hello,

 Thanks for having a look.

 I do not complain that `sage -i` has not been advertised. But I do that it
 is documented nowhere (neither in `src/bin/sage` nor in `src/bin/sage-
 pkg`)!

 Currently we have the option `-optional`, `-standard` and `-experimental`.
 I am just adding an additional `-installed`. We can be smarter and more
 coherent by allowing multiple arguments and force to use the `-i` option
 like in
 {{{
     $ sage -i --installed-only --optional --standard
     ... would list all installed package that are either ...
     ... optional or standard                             ...
     $ sage -i --non-installed-only --all
     ... would list all non installed packages ...
 }}}
 I am in favour of a more coherent scheme of options, but then we should
 forbid the older syntax (and instead write a deprecation message that
 explains the new syntax).

 And I definitely do not understand why we do have two scripts (`src/bin
 /sage-spkg` and `src/bin/sage-list-packages`) for dealing with packages.
 Morever the current state is that `sage-spkg` is used to list the
 installed packages while `sage-list-packages` is the one to list the
 optional packages...

 Vincent

--
Ticket URL: <http://trac.sagemath.org/ticket/17155#comment:3>
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.

Reply via email to