MCPcopy Index your code
hub / github.com/python/cpython / getVersion

Function getVersion

Mac/BuildScript/build-installer.py:88–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86_cache_getVersion = None
87
88def getVersion():
89 global _cache_getVersion
90 if _cache_getVersion is None:
91 _cache_getVersion = grepValue(
92 os.path.join(SRCDIR, 'configure'), 'PACKAGE_VERSION')
93 return _cache_getVersion
94
95def getVersionMajorMinor():
96 return tuple([int(n) for n in getVersion().split('.', 2)])

Callers 10

getVersionMajorMinorFunction · 0.85
library_recipesFunction · 0.85
parseOptionsFunction · 0.85
buildPythonFunction · 0.85
patchFileFunction · 0.85
patchScriptFunction · 0.85
packageFromRecipeFunction · 0.85
makeMpkgPlistFunction · 0.85
buildInstallerFunction · 0.85
mainFunction · 0.85

Calls 2

grepValueFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…