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 27, 2024
1 parent 1e247aa commit 8ea3f64
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 4 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
libtorrent<2.0.9
twisted[tls]>=17.1; sys_platform != 'win32'
twisted[tls]<23,>=17.1; sys_platform == 'win32'
twisted[tls] @ git+https://github.com/Lord-Kamina/twisted@fbd23db ; sys_platform != 'win32' and python_version >= '3.8'
twisted[tls] >17.1,<=23.8 ; sys_platform != 'win32' and python_version < '3.8'
twisted[tls]>=17.1,<23 ; python_version < '3.8' and sys_platform=='win32'
twisted[tls] @ git+https://github.com/Lord-Kamina/twisted@fbd23db ; python_version >= '3.8' and sys_platform == 'win32'
rencode
pyopenssl
pyxdg
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ extend-ignore =
N818
per-file-ignores =
# import not top of file (gi checks required before import)
setup.py : E501
deluge/ui/gtk3/*.py : E402
deluge/**/gtkui.py: E402
deluge/**/gtkui/*.py: E402
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,8 +538,10 @@ 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] @ git+https://github.com/Lord-Kamina/twisted@fbd23db ; sys_platform != 'win32' and python_version >= '3.8'",
"twisted[tls] >17.1,<=23.8 ; sys_platform != 'win32' and python_version < '3.8'",
"twisted[tls]>=17.1,<23 ; python_version < '3.8' and sys_platform=='win32'",
"twisted[tls] @ git+https://github.com/Lord-Kamina/twisted@fbd23db ; 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 8ea3f64

Please sign in to comment.