mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-05 00:01:20 +00:00
python 3.5.0 (fix #504)
This commit is contained in:
parent
68496289f5
commit
1f14d95264
41
python.json
41
python.json
@ -4,42 +4,35 @@
|
|||||||
"version": "3.5.0",
|
"version": "3.5.0",
|
||||||
"architecture": {
|
"architecture": {
|
||||||
"64bit": {
|
"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"
|
"hash": "md5:facc4c9fb6f359b0ca45db0e11455421"
|
||||||
},
|
},
|
||||||
"32bit": {
|
"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"
|
"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": [
|
"bin": [
|
||||||
"python.exe",
|
"python.exe",
|
||||||
"py.exe",
|
|
||||||
"pythonw.exe",
|
"pythonw.exe",
|
||||||
[ "python.exe", "python3" ]
|
[ "python.exe", "python3" ]
|
||||||
],
|
],
|
||||||
"env_add_path": [ "scripts" ],
|
"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>"
|
"checkver": "<p>Latest: <a href=\".*\">Python ([0-9\\.]+)</a> - <a.*>.*</a></p>"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user