#11926: "make build" should run Sage once
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: GeorgSWeber
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.7.3
Component: build | Keywords: Makefile build
Work_issues: | Upstream: N/A
Reviewer: | Author: Jeroen Demeyer
Merged: | Dependencies:
------------------------+---------------------------------------------------
Comment(by leif):
Replying to [comment:19 jhpalmieri]:
> Instead of running Sage, you could run `sage-location` and `sage-python
-c 'from sage.all import *'`, along with printing messages like
"Generating necessary pyc files; do not interrupt". This should generate
the pyc files and the other files in local/lib, right? This avoids the
shell script sage-sage, but is there any real advantage to doing this
instead of just running `sage`?
Not much I think. But we should really separate the things that have to
(or should better) be done before running Sage the first time. Compiling
Python files does IMHO not belong to this, and executing `from sage.all
import *` can again do almost everything (or lead to arbitrary
constellations if the build is broken), and is hardly guaranteed to at all
exit by itself.
Creating a (fully working) "read-only" installation (from the perspective
of an arbitrary user) is certainly not something that belongs to a regular
'''build'''; you'd do such if you intend to ''install'' Sage system-wide
for example of course, hence there should be some (separate) target for
this. Such target ''could'' be the default target (`all`), although I
think it shouldn't, at least not unless there's a (well-documented) way to
specify the destination in advance, during some manually run `configure`
for example.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11926#comment:20>
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.