ScoopInstaller_Main/python27.json
2015-05-24 21:30:02 +03:00

31 lines
896 B
JSON

{
"homepage": "http://www.python.org",
"license": "http://docs.python.org/2/license.html",
"version": "2.7.10",
"architecture": {
"64bit": {
"url": "https://www.python.org/ftp/python/2.7.10/python-2.7.10.amd64.msi",
"hash": "md5:35f5c301beab341f6f6c9785939882ee"
},
"32bit": {
"url": "https://www.python.org/ftp/python/2.7.10/python-2.7.10.msi",
"hash": "md5:4ba2c79b103f6003bc4611c837a08208"
}
},
"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>"
}