aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/setuptools/_distutils/cygwinccompiler.py
diff options
context:
space:
mode:
Diffstat (limited to '.venv/lib/python3.12/site-packages/setuptools/_distutils/cygwinccompiler.py')
-rw-r--r--.venv/lib/python3.12/site-packages/setuptools/_distutils/cygwinccompiler.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/cygwinccompiler.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/cygwinccompiler.py
new file mode 100644
index 00000000..de89e3cd
--- /dev/null
+++ b/.venv/lib/python3.12/site-packages/setuptools/_distutils/cygwinccompiler.py
@@ -0,0 +1,31 @@
+from .compilers.C import cygwin
+from .compilers.C.cygwin import (
+ CONFIG_H_NOTOK,
+ CONFIG_H_OK,
+ CONFIG_H_UNCERTAIN,
+ check_config_h,
+ get_msvcr,
+ is_cygwincc,
+)
+
+__all__ = [
+ 'CONFIG_H_NOTOK',
+ 'CONFIG_H_OK',
+ 'CONFIG_H_UNCERTAIN',
+ 'CygwinCCompiler',
+ 'Mingw32CCompiler',
+ 'check_config_h',
+ 'get_msvcr',
+ 'is_cygwincc',
+]
+
+
+CygwinCCompiler = cygwin.Compiler
+Mingw32CCompiler = cygwin.MinGW32Compiler
+
+
+get_versions = None
+"""
+A stand-in for the previous get_versions() function to prevent failures
+when monkeypatched. See pypa/setuptools#2969.
+"""