Flow.Launcher/PythonEnv/2.7/Lib/site-packages/setuptools/py24compat.py

18 lines
332 B
Python
Raw Normal View History

2013-12-20 17:22:42 +00:00
"""
Forward-compatibility support for Python 2.4 and earlier
"""
# from jaraco.compat 1.2
try:
from functools import wraps
except ImportError:
def wraps(func):
"Just return the function unwrapped"
return lambda x: x
try:
import hashlib
except ImportError:
from setuptools._backport import hashlib