cygwinccompiler.py 594 B

12345678910111213141516171819202122232425262728293031
  1. from .compilers.C import cygwin
  2. from .compilers.C.cygwin import (
  3. CONFIG_H_NOTOK,
  4. CONFIG_H_OK,
  5. CONFIG_H_UNCERTAIN,
  6. check_config_h,
  7. get_msvcr,
  8. is_cygwincc,
  9. )
  10. __all__ = [
  11. 'CONFIG_H_NOTOK',
  12. 'CONFIG_H_OK',
  13. 'CONFIG_H_UNCERTAIN',
  14. 'CygwinCCompiler',
  15. 'Mingw32CCompiler',
  16. 'check_config_h',
  17. 'get_msvcr',
  18. 'is_cygwincc',
  19. ]
  20. CygwinCCompiler = cygwin.Compiler
  21. Mingw32CCompiler = cygwin.MinGW32Compiler
  22. get_versions = None
  23. """
  24. A stand-in for the previous get_versions() function to prevent failures
  25. when monkeypatched. See pypa/setuptools#2969.
  26. """