mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-09 14:13:35 +00:00
GAM 4.30, report oauth2client version in gam version
This commit is contained in:
@ -497,10 +497,10 @@ def doGAMVersion(checkForArgs=True):
|
|||||||
sys.stdout.write(gam_version)
|
sys.stdout.write(gam_version)
|
||||||
return
|
return
|
||||||
import struct
|
import struct
|
||||||
version_data = u'GAM {0} - {1}\n{2}\nPython {3}.{4}.{5} {6}-bit {7}\ngoogle-api-python-client {8}\n{9} {10}\nPath: {11}'
|
version_data = u'GAM {0} - {1}\n{2}\nPython {3}.{4}.{5} {6}-bit {7}\ngoogle-api-python-client {8}\noauth2client {9}\n{10} {11}\nPath: {12}'
|
||||||
print version_data.format(gam_version, GAM_URL, gam_author, sys.version_info[0],
|
print version_data.format(gam_version, GAM_URL, gam_author, sys.version_info[0],
|
||||||
sys.version_info[1], sys.version_info[2], struct.calcsize(u'P')*8,
|
sys.version_info[1], sys.version_info[2], struct.calcsize(u'P')*8,
|
||||||
sys.version_info[3], googleapiclient.__version__, platform.platform(),
|
sys.version_info[3], googleapiclient.__version__, oauth2client.__version__, platform.platform(),
|
||||||
platform.machine(), GM_Globals[GM_GAM_PATH])
|
platform.machine(), GM_Globals[GM_GAM_PATH])
|
||||||
if force_check:
|
if force_check:
|
||||||
doGAMCheckForUpdates(forceCheck=True)
|
doGAMCheckForUpdates(forceCheck=True)
|
||||||
|
@ -4,7 +4,7 @@ import platform
|
|||||||
import re
|
import re
|
||||||
|
|
||||||
gam_author = u'Jay Lee <jay0lee@gmail.com>'
|
gam_author = u'Jay Lee <jay0lee@gmail.com>'
|
||||||
gam_version = u'4.23'
|
gam_version = u'4.30'
|
||||||
gam_license = u'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
gam_license = u'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
|
||||||
|
|
||||||
GAM_URL = u'https://git.io/gam'
|
GAM_URL = u'https://git.io/gam'
|
||||||
|
Reference in New Issue
Block a user