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