MCPcopy Create free account
hub / github.com/cztomczak/cefpython / get_prebuilt_name

Function get_prebuilt_name

tools/automate.py:1092–1105  ·  view source on GitHub ↗
(header_file="")

Source from the content-addressed store, hash-verified

1090
1091
1092def get_prebuilt_name(header_file=""):
1093 if header_file:
1094 version = get_version_from_file(header_file)
1095 else:
1096 version = get_cefpython_version()
1097 postfix2 = OS_POSTFIX2
1098 if Options.x86:
1099 postfix2 = get_os_postfix2_for_arch("32bit")
1100 name = "cef%s_%s_%s" % (
1101 version["CHROME_VERSION_MAJOR"],
1102 version["CEF_VERSION"],
1103 postfix2
1104 )
1105 return name
1106
1107
1108if __name__ == "__main__":

Callers 1

create_prebuilt_binariesFunction · 0.85

Calls 3

get_version_from_fileFunction · 0.85
get_cefpython_versionFunction · 0.85
get_os_postfix2_for_archFunction · 0.85

Tested by

no test coverage detected