ScoopInstaller_Main/python27.json
Roy Ivy III a5d219e0c9 whitespace cleanup
* makes changes to almost all main repo files to be in accordance with .editorconfig
* some files in "test\fixtures\..." were left alone to avoid breaking tests
* NOTE: whitespace changes *only* (`git diff -b` shows no changes)
2015-08-17 22:54:43 -05:00

41 lines
1.3 KiB
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
$create_reg = {
param($path, $value)
$reg_base = \"Registry::HKEY_CURRENT_USER\\Software\"
new-item -path \"$reg_base\\$path\" -force | out-null
new-itemproperty -path \"$reg_base\\$path\" `
-name \"(Default)\" -value \"$value\" -force | out-null
}
$create_reg.Invoke(\"Python\\PythonCore\\2.7\\InstallPath\", `
\"$dir\")
$create_reg.Invoke(\"Python\\PythonCore\\2.7\\PythonPath\", `
\"$dir;$dir\\Lib\\;$dir\\DLLs\\\")
",
"checkver": "<p>Latest: <a.*>.*</a> - <a href=\".*\">Python ([0-9\\.]+)</a></p>"
}