X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=mjo%2Fall.py;h=19c7290362bf51675f3ddf15e2c6603bad518c0f;hb=2fa2a7a2f6a5d5f1628a4f5cf3301d5e7f670038;hp=2a2e73becd6bd4e391ef981ff8ca6edfc072d88d;hpb=351c057951b2d059d4faa754caf63bd2486638c6;p=sage.d.git diff --git a/mjo/all.py b/mjo/all.py index 2a2e73b..19c7290 100644 --- a/mjo/all.py +++ b/mjo/all.py @@ -3,9 +3,15 @@ Import all of the other code, so that the user doesn't have to do it in his script. Instead, he can just `from mjo.all import *`. """ -from interpolation import * -from misc import * -from orthogonal_polynomials import * -from plot import * -from symbol_sequence import * -from symbolic import * +# Sage doesn't load ~/.sage/init.sage during testing (sage -t), so we +# have to explicitly mangle our sitedir here so that "mjo.foo" +# resolves. +from os.path import abspath +from site import addsitedir +addsitedir(abspath('../')) + +from mjo.cone.all import * +from mjo.interpolation import * +from mjo.misc import * +from mjo.orthogonal_polynomials import * +from mjo.symbol_sequence import *