Lines Matching +full:python +full:- +full:version
1 """Helper methods to download different python versions"""
9 strip_include_prefix = "Python-{}/Include",
18 name: The name of the target, should be in the form python_{VERSION}
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__"],
58 name: The name of the target, should be in the form nuget_python_{CPU}_{VERSION}
59 sha256: The sha256 of the nuget package for that version
62 version = name.split("_")[3]
64 full_api_lib_number = version.split(".")[0] + version.split(".")[1]
65 limited_api_lib_number = version.split(".")[0]
69 "x86-64": "python",
76 .format(folder_name_dict[cpu], version),
83 patch_cmds = ["cp -r include/* ."],