Lines Matching +full:python +full:- +full:format
1 """Helper methods to download different python versions"""
9 strip_include_prefix = "Python-{}/Include",
19 sha256: The sha256 of the python package for the specified version
21 version = name.split("-")[1]
25 "https://www.python.org/ftp/python/{0}/Python-{0}.tgz"
26 .format(version),
29 build_file_content = limited_api_build_file.format(version),
31 "echo '#define SIZEOF_WCHAR_T 4' > Python-{}/Include/pyconfig.h"
32 .format(version),
40 shared_library = "python{0}.dll",
41 interface_library = "libs/python{0}.lib",
42 visibility = ["@com_google_protobuf//python:__pkg__"],
48 shared_library = "python{1}.dll",
49 interface_library = "libs/python{1}.lib",
50 visibility = ["@com_google_protobuf//python:__pkg__"],
69 "x86-64": "python",
76 .format(folder_name_dict[cpu], version),
81 nuget_build_file.format(full_api_lib_number, limited_api_lib_number),
83 patch_cmds = ["cp -r include/* ."],