ScoopInstaller_Main/python.json
chidea 04c0ac9d8e Let PyWin32 extension installer find this python
Not sure the correctness of it but this two lines will fix the issue that pywin32 extension installer being unable to find python installed with scoop.
pywin32 installer : http://sourceforge.net/projects/pywin32/files/pywin32/Build%20219/
Reference : http://tech.valgog.com/2010/01/after-installing-64-bit-windows-7-at.html
2015-06-17 02:40:10 +09:00

46 lines
1.3 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>"
}