#16759: install_package() is obsolete
----------------------------+------------------------
       Reporter:  jdemeyer  |        Owner:
           Type:  defect    |       Status:  new
       Priority:  major     |    Milestone:  sage-6.7
      Component:  misc      |   Resolution:
       Keywords:            |    Merged in:
        Authors:            |    Reviewers:
Report Upstream:  N/A       |  Work issues:
         Branch:            |       Commit:
   Dependencies:            |     Stopgaps:  #16760
----------------------------+------------------------
Changes (by jdemeyer):

 * dependencies:  #15642, #18407 =>


Old description:

> `install_package()` fails because `standard_packages()` does not parse
> correctly the output given by the shell command `sage --standard`.
>
> Similar for `optional_packages()` and `experimental_packages`.
>
> ----
>
> The ''parsing'' issue is now fixed by #18407, but the ''logical'' issues
> (cf. [comment:2 the comment below]) remain to get fixed.

New description:

 Packages should be installed using `sage -i` from a shell, not with the
 `install_package()` Sage command.

--

Comment:

 I vote for removing the `install_package()` command. Installing packages
 from within Sage can never work properly anyway:
 1. for some packages, you need to rebuild the Sage library, which cannot
 be done in Sage.
 2. some packages might need a change in environment variables (e.g.
 `ccache`) and that can only be done if `sage-env` is re-run after
 installing the package.

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