78
78
# would run with shell: pwsh
79
79
#if (-not (Test-Path "dotpython")) { New-Item -ItemType Directory -Path "dotpython" | Out-Null }
80
80
#Copy-Item -Path "winpython/portable/launchers_final/*" -Destination "dotpython/" -Recurse -Force
81
-
82
- - name : Write env.ini file
83
- shell : pwsh
84
- run : |
85
- $destDir = "$env:build_location\python\scripts"
86
- echo "WINPYthon_exe=$env:WINPYthon_exe" > env.ini
87
- echo "WINPYthon_subdirectory_name=$env:WINPYthon_subdirectory_name" >> env.ini
88
- echo "WINPYVER=$env:WINPYVER" >> env.ini
89
- echo "WINPYVER2=$env:WINPYVER2" >> env.ini
90
- echo "WINPYFLAVOR=$env:WINPYFLAVOR" >> env.ini
91
- echo "WINPYARCH=$env:WINPYARCH" >> env.ini
92
- Copy-Item -Path "env.ini" -Destination "$destDir\env.ini"
93
81
94
82
- name : List dotpython contents (for debugging)
95
83
shell : pwsh
@@ -103,11 +91,24 @@ jobs:
103
91
Get-ChildItem -Path dotpython -Force | Move-Item -Destination $env:build_location -Force
104
92
# Add more WinPython-specific folders/files here if needed
105
93
106
- - name : upgrade pip to get icons launchers
94
+ - name : upgrade pip to get structure and icons launchers
107
95
shell : pwsh
108
96
run : |
109
97
& "$env:build_location\python\python.exe" -m pip install --upgrade pip
110
98
99
+
100
+ - name : Write env.ini file
101
+ shell : pwsh
102
+ run : |
103
+ $destDir = "$env:build_location\python\scripts"
104
+ echo "WINPYthon_exe=$env:WINPYthon_exe" > env.ini
105
+ echo "WINPYthon_subdirectory_name=$env:WINPYthon_subdirectory_name" >> env.ini
106
+ echo "WINPYVER=$env:WINPYVER" >> env.ini
107
+ echo "WINPYVER2=$env:WINPYVER2" >> env.ini
108
+ echo "WINPYFLAVOR=$env:WINPYFLAVOR" >> env.ini
109
+ echo "WINPYARCH=$env:WINPYARCH" >> env.ini
110
+ Copy-Item -Path "env.ini" -Destination "$destDir\env.ini"
111
+
111
112
- name : download requirements as hashed-requirements in dotpython\wheelhouse
112
113
shell : pwsh
113
114
run : |
0 commit comments