BUG: Fix imports for Python 3.2.

This commit is contained in:
Stefan van der Walt
2012-03-03 11:18:16 -08:00
parent 694fb1a8d7
commit e99f18be5a
14 changed files with 34 additions and 33 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
try:
from spath import shortest_path
from mcp import MCP, MCP_Geometric, route_through_array
from .spath import shortest_path
from .mcp import MCP, MCP_Geometric, route_through_array
except ImportError:
print """*** The cython extensions have not been compiled. Run
python setup.py build_ext -i
in the source directory to build in-place. Please refer to INSTALL.txt
for further detail."""
for further detail."""