ScoopInstaller_Main/python27.json

31 lines
891 B
JSON

{
"homepage": "http://www.python.org",
"license": "http://docs.python.org/2/license.html",
"version": "2.7.9",
"architecture": {
"64bit": {
"url": "https://www.python.org/ftp/python/2.7.9/python-2.7.9.amd64.msi",
"hash": "md5:21ee51a9f44b7160cb6fc68e29a1ddd0"
},
"32bit": {
"url": "https://www.python.org/ftp/python/2.7.9/python-2.7.9.msi",
"hash": "md5:3ed20d8b06dcd339f814b38861f88fc9"
}
},
"bin": [
"python.exe",
"pythonw.exe",
[ "python.exe", "python2" ]
],
"env_add_path": [ "scripts" ],
"post_install": "
python2 -m ensurepip
$reg_path = \"Registry::HKEY_CURRENT_USER\\Software\\Python\\PythonCore\\2.7\\InstallPath\"
new-item -path $reg_path -force | out-null
new-itemproperty -path $reg_path `
-name \"(Default)\" -value \"$dir\" -force | out-null
",
"checkver": "<p>Latest: <a.*>.*</a> - <a href=\".*\">Python ([0-9\\.]+)</a></p>"
}