From 79370fd3667bfc89fc636c6257429357d5fc489f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=98=A5=E4=B9=94?= <83450930+Liyulingyue@users.noreply.github.com> Date: Tue, 21 Jan 2025 22:30:19 +0800 Subject: [PATCH] Update setup.py --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 758a22db6..7b876bb9c 100644 --- a/setup.py +++ b/setup.py @@ -33,6 +33,9 @@ COMMITID = 'none' def determine_python_version(): + """ + Determine the current python version. The function return a string such as '3.7'. + """ python_version = f"{sys.version_info.major}.{sys.version_info.minor}" return python_version