Fix imports under Python 3.

This commit is contained in:
Stefan van der Walt
2013-06-29 10:17:42 -05:00
parent 558298f426
commit f0506f1293
5 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -1,3 +1,3 @@
from linetool import LineTool, ThickLineTool
from recttool import RectangleTool
from painttool import PaintTool
from .linetool import LineTool, ThickLineTool
from .recttool import RectangleTool
from .painttool import PaintTool
+1 -1
View File
@@ -5,7 +5,7 @@ try:
except ImportError:
print("Could not import matplotlib -- skimage.viewer not available.")
from base import CanvasToolBase, ToolHandles
from .base import CanvasToolBase, ToolHandles
__all__ = ['LineTool', 'ThickLineTool']
+1 -1
View File
@@ -8,7 +8,7 @@ try:
except ImportError:
print("Could not import matplotlib -- skimage.viewer not available.")
from base import CanvasToolBase
from .base import CanvasToolBase
__all__ = ['PaintTool']
+1 -1
View File
@@ -1 +1 @@
from core import *
from .core import *
+2 -2
View File
@@ -1,2 +1,2 @@
from core import *
from history import *
from .core import *
from .history import *