codekingpro/portable-devtools
114k
1from ._distutils import _modified2from .warnings import SetuptoolsDeprecationWarning3 4 5def __getattr__(name):6 if name not in ['newer_group', 'newer_pairwise_group']:7 raise AttributeError(name)8 SetuptoolsDeprecationWarning.emit(9 "dep_util is Deprecated. Use functions from setuptools.modified instead.",10 "Please use `setuptools.modified` instead of `setuptools.dep_util`.",11 see_url="https://github.com/pypa/setuptools/pull/4069",12 due_date=(2024, 5, 21),13 # Warning added in v69.0.0 on 2023/11/20,14 # See https://github.com/pypa/setuptools/discussions/412815 )16 return getattr(_modified, name)17 