2019-05-12 11:59:57 +02:00

72 lines
2.4 KiB
JSON

{
"homepage": "https://www.python.org/",
"description": "A programming language that lets you work quickly and integrate systems more effectively.",
"license": "Python-2.0",
"version": "3.7.3",
"architecture": {
"64bit": {
"url": "https://www.python.org/ftp/python/3.7.3/python-3.7.3-amd64.exe",
"hash": "md5:a2b79563476e9aa47f11899a53349383"
},
"32bit": {
"url": "https://www.python.org/ftp/python/3.7.3/python-3.7.3.exe",
"hash": "md5:ebf1644cdc1eeeebacc92afa949cfc01"
}
},
"installer": {
"script": [
"Expand-DarkArchive \"$dir\\_tmp\" \"$dir\\$fname\" | Out-Null",
"@('launcher.msi', 'path.msi', 'pip.msi') | ForEach-Object {",
" Remove-Item \"$dir\\_tmp\\AttachedContainer\\$_\"",
"}",
"(Get-ChildItem \"$dir\\_tmp\\AttachedContainer\\*.msi\").FullName | ForEach-Object { Expand-MsiArchive $_ \"$dir\" }",
"Remove-Item \"$dir\\_tmp\", \"$dir\\$fname\" -Force -Recurse",
"& \"$dir\\python.exe\" -E -s -m ensurepip -U --default-pip | Out-Null",
"if ($global) {",
" $pathext = (env 'PATHEXT' $true) -replace ';.PYW?', ''",
" env 'PATHEXT' $true \"$pathext;.PY;.PYW\"",
"}"
]
},
"uninstaller": {
"script": [
"if ($global) {",
" $pathext = (env 'PATHEXT' $true) -replace ';.PYW?', ''",
" env 'PATHEXT' $true \"$pathext\"",
"}"
]
},
"bin": [
"python.exe",
"pythonw.exe",
[
"python.exe",
"python3"
],
"Lib\\idlelib\\idle.bat",
[
"Lib\\idlelib\\idle.bat",
"idle3"
]
],
"env_add_path": "Scripts",
"checkver": {
"url": "https://www.python.org/downloads/windows/",
"re": "Latest Python 3 Release - Python ([\\d\\.]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://www.python.org/ftp/python/$version/python-$version-amd64.exe"
},
"32bit": {
"url": "https://www.python.org/ftp/python/$version/python-$version.exe"
}
},
"hash": {
"url": "https://www.python.org/downloads/release/python-$cleanVersion/",
"find": "$basename[\\S\\s]+?$md5"
}
}
}