ScoopInstaller_Main/python.json
2018-12-24 11:00:34 +00:00

67 lines
2.0 KiB
JSON

{
"homepage": "https://www.python.org/",
"license": "https://docs.python.org/3/license.html",
"version": "3.7.2",
"architecture": {
"64bit": {
"url": "https://www.python.org/ftp/python/3.7.2/python-3.7.2-amd64.exe#/py3.exe",
"hash": "md5:ff258093f0b3953c886192dec9f52763"
},
"32bit": {
"url": "https://www.python.org/ftp/python/3.7.2/python-3.7.2.exe#/py3.exe",
"hash": "md5:38156b62c0cbcb03bfddeb86e66c3a0f"
}
},
"installer": {
"args": [
"/quiet",
"InstallAllUsers=$(@{$true=1;$false=0}[$global])",
"TargetDir=\"$dir\"",
"AssociateFiles=0",
"Shortcuts=0",
"InstallLauncherAllUsers=$(@{$true=1;$false=0}[$global])"
],
"keep": true
},
"uninstaller": {
"file": "py3.exe",
"args": [
"/uninstall",
"/quiet",
"InstallAllUsers=0"
]
},
"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#/py3.exe"
},
"32bit": {
"url": "https://www.python.org/ftp/python/$version/python-$version.exe#/py3.exe"
}
},
"hash": {
"url": "https://www.python.org/downloads/release/python-$cleanVersion/",
"find": "<td><a href=\".*$basename\".*</a></td>\\s+<td>Windows</td>\\s+<td>.*</td>\\s+<td>([A-Fa-f\\d]{32})"
}
}
}