ScoopInstaller_Main/python.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

46 lines
1.5 KiB
JSON

{
"homepage": "http://www.python.org",
"license": "http://docs.python.org/3.4/license",
"version": "3.4.3",
"architecture": {
"64bit": {
"url": "https://www.python.org/ftp/python/3.4.3/python-3.4.3.amd64.msi",
"hash": "md5:f6ade29acaf8fcdc0463e69a6e7ccf87"
},
"32bit": {
"url": "https://www.python.org/ftp/python/3.4.3/python-3.4.3.msi",
"hash": "md5:cb450d1cc616bfc8f7a2d6bd88780bf6"
}
},
"bin": [
"python.exe",
"py.exe",
"pythonw.exe",
[ "python.exe", "python3" ]
],
"env_add_path": [ "scripts" ],
"post_install": "
python -m ensurepip; cp (gcm pip3).path \"$(split-path (gcm pip3).path)/pip.exe\"
$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(\"Classes\\Python.File\\shell\\open\\command\", `
\"`\"$dir\\py.exe`\" `\"%1`\" %*\")
$create_reg.Invoke(\"Classes\\.py\", \"Python.File\")
$create_reg.Invoke(\"Python\\PythonCore\\3.4\\InstallPath\", `
\"$dir\")
$create_reg.Invoke(\"Python\\PythonCore\\3.4\\PythonPath\", `
\"$dir;$dir\\Lib\\;$dir\\DLLs\\\")
",
"checkver": "<p>Latest: <a href=\".*\">Python ([0-9\\.]+)</a> - <a.*>.*</a></p>"
}