mirror of
https://github.com/ScoopInstaller/Main.git
synced 2026-02-02 18:14:49 +00:00
python: persist user installed libs and scripts (#2144)
* python: persist user installed libs and scripts Resolve #1680, #772 * python: remove bin entries to avoid duplicated exe * python: add py.exe launcher Close #2424, #377, #2181
This commit is contained in:
parent
e2aca4e753
commit
71e002761b
@ -46,7 +46,7 @@
|
||||
"installer": {
|
||||
"script": [
|
||||
"Expand-DarkArchive \"$dir\\setup.exe\" \"$dir\\_tmp\"",
|
||||
"@('launcher.msi', 'path.msi', 'pip.msi') | ForEach-Object {",
|
||||
"@('path.msi', 'pip.msi') | ForEach-Object {",
|
||||
" Remove-Item \"$dir\\_tmp\\AttachedContainer\\$_\"",
|
||||
"}",
|
||||
"(Get-ChildItem \"$dir\\_tmp\\AttachedContainer\\*.msi\").FullName | ForEach-Object { Expand-MsiArchive $_ \"$dir\" }",
|
||||
@ -67,8 +67,6 @@
|
||||
]
|
||||
},
|
||||
"bin": [
|
||||
"python.exe",
|
||||
"pythonw.exe",
|
||||
[
|
||||
"python.exe",
|
||||
"python3"
|
||||
@ -79,6 +77,10 @@
|
||||
"idle3"
|
||||
]
|
||||
],
|
||||
"persist": [
|
||||
"Scripts",
|
||||
"Lib\\site-packages"
|
||||
],
|
||||
"env_add_path": [
|
||||
"Scripts",
|
||||
"."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user