Skip to content

Commit

Permalink
Use homebaked twisted
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Kamina committed Aug 26, 2024
1 parent 1e247aa commit 9db0c4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
libtorrent<2.0.9
twisted[tls]>=17.1; sys_platform != 'win32'
twisted[tls]<23,>=17.1; sys_platform == 'win32'
twisted[tls]>=17.1,<23 ; python_version < '3.8' and sys_platform=='win32'
twisted[tls] @ git+https://github.com/Lord-Kamina/twisted@89c18f9 ; python_version >= '3.8' and sys_platform == 'win32'
rencode
pyopenssl
pyxdg
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,9 @@ def run(self):

setup_requires = ['setuptools', 'wheel']
install_requires = [
"twisted[tls]>=17.1; sys_platform != 'win32'",
"twisted[tls]<23,>=17.1; sys_platform == 'win32'",
twisted[tls]>=17.1; sys_platform != 'win32'
twisted[tls]>=17.1,<23 ; python_version < '3.8' and sys_platform=='win32'
twisted[tls] @ git+https://github.com/Lord-Kamina/twisted@89c18f9 ; python_version >= '3.8' and sys_platform == 'win32'
# Add pyasn1 for setuptools workaround:
# https://github.com/pypa/setuptools/issues/1510
'pyasn1',
Expand Down

0 comments on commit 9db0c4d

Please sign in to comment.