-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The python install step started failing because there is a new pip release so we get a warning. I tried to just upgrade python but the new python manifest depends on functions that need an upgrade of scoop so I upgraded that as well. Not quite sure which of those upgrades fixes the issue … changelog_begin changelog_end
- Loading branch information
1 parent
c4f48c9
commit 4b5143d
Showing
6 changed files
with
115 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
{ | ||
"homepage": "https://www.python.org/", | ||
"description": "A programming language that lets you work quickly and integrate systems more effectively.", | ||
"license": "Python-2.0", | ||
"version": "3.8.2", | ||
"notes": "Allow applications and third-party installers to find python by running: \"$dir\\install-pep-514.reg\"", | ||
"architecture": { | ||
"64bit": { | ||
"url": [ | ||
"https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/python/install-pep-514.reg", | ||
"https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/python/uninstall-pep-514.reg", | ||
"https://www.python.org/ftp/python/3.8.2/python-3.8.2-amd64.exe" | ||
], | ||
"hash": [ | ||
"5d9d7a604c057e67973e1d4b3b488ae20a0e5ee5496d03b5cf091410e33e39ed", | ||
"d9309423b693ed63aea6b1fbfc0c34f16842cdca22a1b3edef283b87567a53b9", | ||
"8e400e3f32cdcb746e62e0db4d3ae4cba1f927141ebc4d0d5a4006b0daee8921" | ||
] | ||
}, | ||
"32bit": { | ||
"url": [ | ||
"https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/python/install-pep-514.reg", | ||
"https://raw.githubusercontent.com/ScoopInstaller/Main/master/scripts/python/uninstall-pep-514.reg", | ||
"https://www.python.org/ftp/python/3.8.2/python-3.8.2.exe" | ||
], | ||
"hash": [ | ||
"5d9d7a604c057e67973e1d4b3b488ae20a0e5ee5496d03b5cf091410e33e39ed", | ||
"d9309423b693ed63aea6b1fbfc0c34f16842cdca22a1b3edef283b87567a53b9", | ||
"03ac5754a69c9c11c08d1f4d694c14625a4d27348ad4dd2d1253e2547819db2c" | ||
] | ||
} | ||
}, | ||
"pre_install": [ | ||
"'install-pep-514.reg', 'uninstall-pep-514.reg' | ForEach-Object {", | ||
" $py_root = \"$dir\".Replace('\\', '\\\\')", | ||
" $py_version = ($version -split '\\.')[0..1] -join '.'", | ||
" $content = Get-Content \"$dir\\$_\"", | ||
" $content = $content.Replace('$py_root', $py_root)", | ||
" $content = $content.Replace('$py_version', $py_version)", | ||
" if ($global) {", | ||
" $content = $content.Replace('HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE')", | ||
" }", | ||
" Set-Content \"$dir\\$_\" $content -Encoding Ascii", | ||
"}" | ||
], | ||
"installer": { | ||
"script": [ | ||
"Expand-DarkArchive \"$dir\\$fname\" \"$dir\\_tmp\"", | ||
"@('launcher.msi', 'path.msi', 'pip.msi') | ForEach-Object {", | ||
" Remove-Item \"$dir\\_tmp\\AttachedContainer\\$_\"", | ||
"}", | ||
"(Get-ChildItem \"$dir\\_tmp\\AttachedContainer\\*.msi\").FullName | ForEach-Object { Expand-MsiArchive $_ \"$dir\" }", | ||
"Remove-Item \"$dir\\_tmp\", \"$dir\\$fname\" -Force -Recurse", | ||
"& \"$dir\\python.exe\" -E -s -m ensurepip -U --default-pip | Out-Null", | ||
"if ($global) {", | ||
" $pathext = (env 'PATHEXT' $true) -replace ';.PYW?', ''", | ||
" env 'PATHEXT' $true \"$pathext;.PY;.PYW\"", | ||
"}" | ||
] | ||
}, | ||
"uninstaller": { | ||
"script": [ | ||
"if ($global) {", | ||
" $pathext = (env 'PATHEXT' $true) -replace ';.PYW?', ''", | ||
" env 'PATHEXT' $true \"$pathext\"", | ||
"}" | ||
] | ||
}, | ||
"bin": [ | ||
"python.exe", | ||
"pythonw.exe", | ||
[ | ||
"python.exe", | ||
"python3" | ||
], | ||
"Lib\\idlelib\\idle.bat", | ||
[ | ||
"Lib\\idlelib\\idle.bat", | ||
"idle3" | ||
] | ||
], | ||
"env_add_path": [ | ||
"Scripts", | ||
"." | ||
], | ||
"checkver": { | ||
"url": "https://www.python.org/downloads/windows/", | ||
"re": "Latest Python 3 Release - Python ([\\d\\.]+)" | ||
}, | ||
"autoupdate": { | ||
"architecture": { | ||
"64bit": { | ||
"url": "https://www.python.org/ftp/python/$version/python-$version-amd64.exe" | ||
}, | ||
"32bit": { | ||
"url": "https://www.python.org/ftp/python/$version/python-$version.exe" | ||
} | ||
}, | ||
"hash": { | ||
"url": "https://www.python.org/downloads/release/python-$cleanVersion/", | ||
"find": "(?sm)$basename.*?$md5" | ||
} | ||
} | ||
} |