/
python311.json
69 lines (69 loc) · 2.52 KB
/
python311.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"description": "A programming language that lets you work quickly and integrate systems more effectively.",
"homepage": "https://www.python.org/",
"license": "Python-2.0",
"version": "3.11.9",
"architecture": {
"64bit": {
"url": "https://www.python.org/ftp/python/3.11.9/python-3.11.9-amd64.exe#/setup.exe",
"hash": "5ee42c4eee1e6b4464bb23722f90b45303f79442df63083f05322f1785f5fdde"
},
"32bit": {
"url": "https://www.python.org/ftp/python/3.11.9/python-3.11.9.exe#/setup.exe",
"hash": "af19e5e2f03e715a822181f2cb7d4efef4eda13fa4a2db6da12e998e46f5cbf9"
},
"arm64": {
"url": "https://www.python.org/ftp/python/3.11.9/python-3.11.9-arm64.exe#/setup.exe",
"hash": "58f3a4e91b63d5a680ecc77c1db4565a1e3966e8656d4c8b89200d58c1f5c4f3"
}
},
"installer": {
"script": [
"Expand-DarkArchive \"$dir\\setup.exe\" \"$dir\\_tmp\"",
"@('path.msi', 'pip.msi') | ForEach-Object {",
" Remove-Item \"$dir\\_tmp\\AttachedContainer\\$_\"",
"}",
"(Get-ChildItem \"$dir\\_tmp\\AttachedContainer\\*.msi\").FullName | ForEach-Object {",
" # appendpath.msi does not contain any file, which causes 'msiexec /a' to fail",
" if($((Get-Item $_).Basename) -eq 'appendpath') { return }",
" Expand-MsiArchive $_ \"$dir\" ",
"}",
"Remove-Item \"$dir\\_tmp\", \"$dir\\setup.exe\" -Force -Recurse"
]
},
"bin": [
[
"python.exe",
"python311"
],
[
"Lib\\idlelib\\idle.bat",
"idle311"
]
],
"persist": [
"Scripts",
"Lib\\site-packages"
],
"checkver": {
"url": "https://www.python.org/downloads/windows/",
"regex": "python-(3\\.11\\.[\\d.]+)-"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://www.python.org/ftp/python/$version/python-$version-amd64.exe#/setup.exe"
},
"32bit": {
"url": "https://www.python.org/ftp/python/$version/python-$version.exe#/setup.exe"
},
"arm64": {
"url": "https://www.python.org/ftp/python/$version/python-$version-arm64.exe#/setup.exe"
}
},
"hash": {
"url": "https://www.python.org/downloads/release/python-$cleanVersion/",
"regex": "(?sm)$basename.*?$md5"
}
}
}