]> gitweb.michael.orlitzky.com - sage.d.git/blobdiff - mjo/cone/all.py
Clean up some imports and fix another test failure.
[sage.d.git] / mjo / cone / all.py
diff --git a/mjo/cone/all.py b/mjo/cone/all.py
new file mode 100644 (file)
index 0000000..c8957a0
--- /dev/null
@@ -0,0 +1,16 @@
+"""
+All imports from mjo.cone modules.
+"""
+
+# 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.cone import *
+from mjo.cone.completely_positive import *
+from mjo.cone.doubly_nonnegative import *
+from mjo.cone.permutation_invariant import *
+from mjo.cone.rearrangement import *
+from mjo.cone.symmetric_psd import *