Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions .github/workflows/github_workflows_build-dot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,6 @@ jobs:
# would run with shell: pwsh
#if (-not (Test-Path "dotpython")) { New-Item -ItemType Directory -Path "dotpython" | Out-Null }
#Copy-Item -Path "winpython/portable/launchers_final/*" -Destination "dotpython/" -Recurse -Force

- name: Write env.ini file
shell: pwsh
run: |
$destDir = "$env:build_location\python\scripts"
echo "WINPYthon_exe=$env:WINPYthon_exe" > env.ini
echo "WINPYthon_subdirectory_name=$env:WINPYthon_subdirectory_name" >> env.ini
echo "WINPYVER=$env:WINPYVER" >> env.ini
echo "WINPYVER2=$env:WINPYVER2" >> env.ini
echo "WINPYFLAVOR=$env:WINPYFLAVOR" >> env.ini
echo "WINPYARCH=$env:WINPYARCH" >> env.ini
Copy-Item -Path "env.ini" -Destination "$destDir\env.ini"

- name: List dotpython contents (for debugging)
shell: pwsh
Expand All @@ -103,11 +91,24 @@ jobs:
Get-ChildItem -Path dotpython -Force | Move-Item -Destination $env:build_location -Force
# Add more WinPython-specific folders/files here if needed

- name: upgrade pip to get icons launchers
- name: upgrade pip to get structure and icons launchers
shell: pwsh
run: |
& "$env:build_location\python\python.exe" -m pip install --upgrade pip


- name: Write env.ini file
shell: pwsh
run: |
$destDir = "$env:build_location\python\scripts"
echo "WINPYthon_exe=$env:WINPYthon_exe" > env.ini
echo "WINPYthon_subdirectory_name=$env:WINPYthon_subdirectory_name" >> env.ini
echo "WINPYVER=$env:WINPYVER" >> env.ini
echo "WINPYVER2=$env:WINPYVER2" >> env.ini
echo "WINPYFLAVOR=$env:WINPYFLAVOR" >> env.ini
echo "WINPYARCH=$env:WINPYARCH" >> env.ini
Copy-Item -Path "env.ini" -Destination "$destDir\env.ini"

- name: download requirements as hashed-requirements in dotpython\wheelhouse
shell: pwsh
run: |
Expand Down