ScoopInstaller_Main/python.json
Seonho Oh 891468e984 Update python.json
Update python to 3.5.0
2015-09-15 14:47:59 +09:00

46 lines
1.5 KiB
JSON

{
"homepage": "http://www.python.org",
"license": "https://docs.python.org/3/license.html",
"version": "3.5.0",
"architecture": {
"64bit": {
"url": "https://www.python.org/ftp/python/3.5.0/python-3.5.0-amd64.exe",
"hash": "md5:facc4c9fb6f359b0ca45db0e11455421"
},
"32bit": {
"url": "https://www.python.org/ftp/python/3.5.0/python-3.5.0.exe",
"hash": "md5:1e87ad24225657a3de447171f0eda1df"
}
},
"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.5\\InstallPath\", `
\"$dir\")
$create_reg.Invoke(\"Python\\PythonCore\\3.5\\PythonPath\", `
\"$dir;$dir\\Lib\\;$dir\\DLLs\\\")
",
"checkver": "<p>Latest: <a href=\".*\">Python ([0-9\\.]+)</a> - <a.*>.*</a></p>"
}