Update setup.py

pull/3975/head
张春乔 8 months ago committed by GitHub
parent a22bc8c663
commit 79370fd366
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save