SpaceLife-Updater/venv/lib64/python3.12/site-packages/setuptools/_distutils/dep_util.py

15 lines
349 B
Python
Raw Normal View History

2024-01-23 13:52:41 -05: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)