X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=mjo%2Fall.py;h=19c7290362bf51675f3ddf15e2c6603bad518c0f;hb=eeca2aaf291ef8cb215e277c09c4205be8a84298;hp=c0676a2430b4249d16b52624f5f70cb42c9f58d0;hpb=6ea65e4060ff7272571baf16bff2c9adb92baadd;p=sage.d.git diff --git a/mjo/all.py b/mjo/all.py index c0676a2..19c7290 100644 --- a/mjo/all.py +++ b/mjo/all.py @@ -3,12 +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 cone.symmetric_psd import * -from cone.doubly_nonnegative import * -from cone.completely_positive 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 *