first commit
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
||||
"""
|
||||
版本信息模块
|
||||
管理软件版本号
|
||||
"""
|
||||
|
||||
__version__ = "1.0.3"
|
||||
__author__ = "CpyGateway Team"
|
||||
__date__ = "2026-01-14"
|
||||
|
||||
|
||||
def get_version():
|
||||
"""
|
||||
获取当前版本号
|
||||
|
||||
Returns:
|
||||
str: 版本号字符串
|
||||
"""
|
||||
return __version__
|
||||
|
||||
|
||||
def get_version_info():
|
||||
"""
|
||||
获取完整的版本信息
|
||||
|
||||
Returns:
|
||||
dict: 包含版本信息的字典
|
||||
"""
|
||||
return {
|
||||
'version': __version__,
|
||||
'author': __author__,
|
||||
'date': __date__
|
||||
}
|
||||
Reference in New Issue
Block a user