@copyright: © 2010 - 2016 by Frank Brehm, ProfitBricks GmbH, Berlin
@summary: The module for the MailAddress object.
"""
+from __future__ import absolute_import
# Standard modules
import sys
import re
# Own modules
-from pp_lib.errors import InvalidMailAddressError
-
-from pp_lib.common import to_str
+try:
+ from .errors import InvalidMailAddressError
+except (SystemError, ImportError):
+ from errors import InvalidMailAddressError
+
+try:
+ from .common import to_str
+except (SystemError, ImportError):
+ from common import to_str
__version__ = '0.2.2'
log = logging.getLogger(__name__)
@contact: frank.brehm@pixelpark.com
@copyright: © 2010 - 2017 by Frank Brehm, Publicies Pixelpark GmbH, Berlin
"""
+from __future__ import absolute_import
# Standard modules
import sys
import six
# Own modules
-from pp_tools import pp
-
-from pp_tools.errors import PpError
+try:
+ from .common import pp
+except (SystemError, ImportError):
+ from common import pp
+
+try:
+ from .errors import PpError
+except (SystemError, ImportError):
+ from errors import PpError
__version__ = '0.1.1'