Instead of relative imports, use (implicitly) absolute ones.
This commit is contained in:
parent
067db48997
commit
f8480a7856
|
@ -16,7 +16,7 @@ import re
|
|||
import string
|
||||
import sys
|
||||
|
||||
from .errors import DistutilsPlatformError
|
||||
from distutils.errors import DistutilsPlatformError
|
||||
|
||||
# These are needed in a couple of spots, so just compute them once.
|
||||
PREFIX = os.path.normpath(sys.prefix)
|
||||
|
|
|
@ -29,7 +29,7 @@ Written by Marc-Andre Lemburg (mal@lemburg.com).
|
|||
"""#"
|
||||
|
||||
import codecs, types
|
||||
from . import aliases
|
||||
from encodings import aliases
|
||||
|
||||
_cache = {}
|
||||
_unknown = '--unknown--'
|
||||
|
|
Loading…
Reference in New Issue