Skip to content

Commit

Permalink
Don’t use newer twisted on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Kamina committed Jun 28, 2024
1 parent 2bb77b5 commit 20e9a60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
libtorrent<2.0.9
twisted[tls]>=17.1
twisted[tls]>=17.1; sys_platform != 'win32'
twisted[tls]<23,>=17.1; sys_platform == 'win32'
rencode
pyopenssl
pyxdg
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,8 @@ def run(self):

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',
Expand Down

0 comments on commit 20e9a60

Please sign in to comment.