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

15 lines
349 B
Python
Raw Normal View History

2024-07-04 10:09:27 +08:00
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)