Update setup.py

pull/3985/head
张春乔 7 months ago committed by GitHub
parent f4a9fb4d7e
commit 9817082a35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -54,8 +54,8 @@ def determine_opencc_version():
# determine opencc version
if gcc_version:
if int(gcc_version.split(".")[0]) < 8:
return "opencc==1.1.6" # GCC<8 need opencc==1.1.6
if int(gcc_version.split(".")[0]) < 9:
return "opencc==1.1.6" # GCC<9 need opencc==1.1.6
return "opencc" # default

Loading…
Cancel
Save