summaryrefslogtreecommitdiff
path: root/setuptools/_distutils/cygwinccompiler.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/_distutils/cygwinccompiler.py')
-rw-r--r--setuptools/_distutils/cygwinccompiler.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/setuptools/_distutils/cygwinccompiler.py b/setuptools/_distutils/cygwinccompiler.py
index 4a38dfda..fd082f6d 100644
--- a/setuptools/_distutils/cygwinccompiler.py
+++ b/setuptools/_distutils/cygwinccompiler.py
@@ -354,3 +354,9 @@ def is_cygwincc(cc):
out_string = check_output(shlex.split(cc) + ['-dumpmachine'])
return out_string.strip().endswith(b'cygwin')
+
+get_versions = None
+"""
+A stand-in for the previous get_versions() function to prevent failures
+when monkeypatched. See pypa/setuptools#2969.
+"""