You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
568 B

  1. try:
  2. # Ensure a DistutilsError raised by these methods is the same as distutils.errors.DistutilsError
  3. from distutils._modified import (
  4. newer,
  5. newer_group,
  6. newer_pairwise,
  7. newer_pairwise_group,
  8. )
  9. except ImportError:
  10. # fallback for SETUPTOOLS_USE_DISTUTILS=stdlib, because _modified never existed in stdlib
  11. from ._distutils._modified import (
  12. newer,
  13. newer_group,
  14. newer_pairwise,
  15. newer_pairwise_group,
  16. )
  17. __all__ = ['newer', 'newer_pairwise', 'newer_group', 'newer_pairwise_group']