]> gitweb.michael.orlitzky.com - sage.d.git/blobdiff - mjo/all.py
Fix a deprecated doctest.
[sage.d.git] / mjo / all.py
index 246f1a09b520410555ebde1ca94145dae0a17d57..bff4e2c1b68b9d0339a5ea6a2e41f898f535ad70 100644 (file)
@@ -3,14 +3,16 @@ 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.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.plot import *
+from mjo.symbol_sequence import *