File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 "architecture" : {
88 "64bit" : {
99 "url" : " https://sourceforge.net/projects/winpython/WinPython_3.14/3.14.5.0/WinPython64-3.14.5.0slim.7z" ,
10- "hash" : " e54363cf3a0679bd75d4e345753304cac8f0be63d22b2bdfbcb238570b5786de" ,
11- "extract_dir" : " WPy64-3.14.5.0"
10+ "hash" : " e54363cf3a0679bd75d4e345753304cac8f0be63d22b2bdfbcb238570b5786de"
1211 }
1312 },
13+ "pre_install" : [
14+ " # Use a script to extract files since the extract_dir changes frequently." ,
15+ " $items = @(Get-ChildItem -Path $dir | Select-Object -First 2)" ,
16+ " if ($items.Count -eq 1 -and $items[0].PSIsContainer) {" ,
17+ " $inner_dir = $items | ForEach-Object -MemberName FullName" ,
18+ " Move-Item -Path \" $inner_dir\\ *\" -Destination $dir -Force" ,
19+ " Remove-Item -Path $inner_dir -Recurse -Force -ErrorAction Ignore" ,
20+ " }"
21+ ],
1422 "bin" : [
1523 " scripts\\ python.bat" ,
1624 [
You can’t perform that action at this time.
0 commit comments