1
0
Fork 0
EnglishPal/new/Lib/site-packages/setuptools/_distutils/dep_util.py

15 lines
349 B
Python

import warnings
from . import _modified
def __getattr__(name):
if name not in ['newer', 'newer_group', 'newer_pairwise']:
raise AttributeError(name)
warnings.warn(
"dep_util is Deprecated. Use functions from setuptools instead.",
DeprecationWarning,
stacklevel=2,
)
return getattr(_modified, name)