diff options
Diffstat (limited to 'src/wheel/util.py')
-rw-r--r-- | src/wheel/util.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wheel/util.py b/src/wheel/util.py index af470b5..775433f 100644 --- a/src/wheel/util.py +++ b/src/wheel/util.py @@ -5,6 +5,14 @@ import logging log = logging.getLogger('wheel') +# ensure Python logging is configured +try: + __import__('setuptools.logging') +except ImportError: + # setuptools < ?? + from . import _setuptools_logging + _setuptools_logging.configure() + def urlsafe_b64encode(data: bytes) -> bytes: """urlsafe_b64encode without padding""" |