Use absolute rather than relative "up-the-ladder" imports.

This eases the problem of running the unittests via the command line
with "python -m unittest discover -s /start/path".  #53
This commit is contained in:
John Evans 2013-06-21 08:22:35 -04:00
commit bc08757977
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ import warnings
import numpy as np
import pkg_resources
from ..lib import openjp2 as opj2
from glymur.lib import openjp2 as opj2
# Need some combination of matplotlib, PIL, or scikits-image for reading
# other image formats.

View file

@ -11,7 +11,7 @@ import warnings
import numpy as np
from ..lib import openjp2 as opj2
from glymur.lib import openjp2 as opj2
# Need some combination of matplotlib, PIL, or scikits-image for reading
# other image formats.