mirror of
https://github.com/9001/copyparty.git
synced 2025-09-30 13:42:27 -06:00
add free-threading suffix to version dump
This commit is contained in:
parent
669b10754d
commit
6559152882
|
@ -546,6 +546,8 @@ def py_desc() -> str:
|
|||
ofs = py_ver.find(".final.")
|
||||
if ofs > 0:
|
||||
py_ver = py_ver[:ofs]
|
||||
if "free-threading" in sys.version:
|
||||
py_ver += "t"
|
||||
|
||||
host_os = platform.system()
|
||||
compiler = platform.python_compiler().split("http")[0]
|
||||
|
|
Loading…
Reference in a new issue