summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index d1fb7c38..27b16c08 100644
--- a/setup.py
+++ b/setup.py
@@ -102,7 +102,9 @@ params = dict(
'xcgi': ['flup'],
# https://docs.cherrypy.org/en/latest/advanced.html?highlight=windows#windows-console-events
- ':sys_platform == "win32" and implementation_name == "cpython"': [
+ ':sys_platform == "win32" and implementation_name == "cpython"'
+ # pywin32 disabled while a build is unavailable. Ref #1920.
+ ' and python_version < "3.10"': [
'pywin32 >= 227',
],
},