#7494: remove (or clean up) SAGE_ROOT/examples
---------------------------+------------------------------------------------
Reporter: was | Owner: tbd
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.7.2
Component: misc | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
---------------------------+------------------------------------------------
Changes (by was):
* status: positive_review => needs_work
Comment:
I just realized that there is one thing that has to be done. Observe:
{{{
wstein@ubuntu:~/d/sage$ sage -grep "examples"|grep SAGE_ROOT
finance/stock.py: sage:
finance.Stock('aapl').load_from_file(SAGE_ROOT + '/examples/finance/AAPL-
minutely.csv')[:5]
finance/stock.py: sage:
finance.Stock('goog').load_from_file(SAGE_ROOT + '/examples/finance/AAPL-
minutely.csv')[:5]
finance/stock.py: sage:
finance.Stock('aapl').load_from_file(SAGE_ROOT + "/examples/finance/AAPL-
minutely.csv")
misc/hg.py:hg_examples = HG('%s/data/examples'%SAGE_ROOT,
misc/inline_fortran.py: sage: s = open(os.environ['SAGE_ROOT']
+ '/examples/fortran/FIB1.F').read()
wstein@ubuntu:~/d/sage$
}}}
So the stuff in examples that are used in doctests need to be moved to the
SAGE_ROOT/data/ directory. Thus one needs to attach a patch that does
this to this ticket, and that patch will need to be reviewed.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7494#comment:9>
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.