mirror of
https://github.com/9001/copyparty.git
synced 2025-11-05 14:23:17 +00:00
add free-threading suffix to version dump
This commit is contained in:
@@ -546,6 +546,8 @@ def py_desc() -> str:
|
|||||||
ofs = py_ver.find(".final.")
|
ofs = py_ver.find(".final.")
|
||||||
if ofs > 0:
|
if ofs > 0:
|
||||||
py_ver = py_ver[:ofs]
|
py_ver = py_ver[:ofs]
|
||||||
|
if "free-threading" in sys.version:
|
||||||
|
py_ver += "t"
|
||||||
|
|
||||||
host_os = platform.system()
|
host_os = platform.system()
|
||||||
compiler = platform.python_compiler().split("http")[0]
|
compiler = platform.python_compiler().split("http")[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user