python 3.5.0 (fix #504)

This commit is contained in:
Luke Sampson 2015-09-21 09:17:55 +10:00
parent 68496289f5
commit 1f14d95264

View File

@ -4,42 +4,35 @@
"version": "3.5.0",
"architecture": {
"64bit": {
"url": "https://www.python.org/ftp/python/3.5.0/python-3.5.0-amd64.exe",
"url": "https://www.python.org/ftp/python/3.5.0/python-3.5.0-amd64.exe#/py350.exe",
"hash": "md5:facc4c9fb6f359b0ca45db0e11455421"
},
"32bit": {
"url": "https://www.python.org/ftp/python/3.5.0/python-3.5.0.exe",
"url": "https://www.python.org/ftp/python/3.5.0/python-3.5.0.exe#/py350.exe",
"hash": "md5:1e87ad24225657a3de447171f0eda1df"
}
},
"pre_install": "copy-item $dir\\py350.exe $dir\\uninstall.exe",
"installer": {
"args": [
"/quiet",
"InstallAllUsers=0",
"TargetDir=$dir",
"AssociateFiles=0",
"Shortcuts=0",
"InstallLauncherAllUsers=0"
]
},
"uninstaller": {
"file": "uninstall.exe",
"args": [ "/uninstall", "/quiet", "InstallAllUsers=0"]
},
"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>"
}