From 2dbcbc52c5cccfd0be19720cf09bdccd98ff01ac Mon Sep 17 00:00:00 2001 From: Loren Eteval Date: Thu, 26 Oct 2023 21:18:48 +0800 Subject: [PATCH] Declare Hysteria extras Signed-off-by: Loren Eteval --- setup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b3b185e..39b892d 100644 --- a/setup.py +++ b/setup.py @@ -38,8 +38,6 @@ setup( install_requires=[ 'PySide6-Essentials', 'Xray-core', - 'hysteria > 1.3.5', - 'hysteria2 > 2.0.0', 'tun2socks > 2.5.1', 'ujson', 'pybase64', @@ -50,6 +48,10 @@ setup( 'darkdetect; sys_platform != "darwin"', 'darkdetect[macos-listener]; sys_platform == "darwin"', ], + extras_require={ + 'go1.20': ['hysteria > 1.3.5', 'hysteria2 == 2.0.0.1'], + 'go1.21': ['hysteria2 > 2.0.4'], + }, entry_points={ 'gui_scripts': [ 'Furious = Furious.__main__:main',