summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index ef70f20b0..509d383e4 100755
--- a/setup.py
+++ b/setup.py
@@ -538,7 +538,8 @@ _package_data['deluge.ui.gtk3'] = ['glade/*.ui']
setup_requires = ['setuptools', 'wheel']
install_requires = [
- 'twisted[tls]>=17.1',
+ "twisted[tls]>=17.1; sys_platform != 'win32'",
+ "twisted[tls]<23,>=17.1; sys_platform == 'win32'",
# Add pyasn1 for setuptools workaround:
# https://github.com/pypa/setuptools/issues/1510
'pyasn1',