Skip to content

Commit

Permalink
Added .bat dev launcher (WinPython)
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRaybaut committed Nov 30, 2023
1 parent 29e389d commit 1f99625
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"cwd": "scripts",
"env": {
"UNATTENDED": "1",
"DEBUG": "1",
// "DEBUG": "1",
"PYTHON": "${env:CDL_PYTHONEXE}"
}
},
Expand Down
7 changes: 7 additions & 0 deletions DataLab.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@echo off
for %%a in ("%CDL_PYTHONEXE%") do set "p_dir=%%~dpa"
for %%a in (%p_dir:~0,-1%) do set "WINPYDIRBASE=%%~dpa"
call %WINPYDIRBASE%scripts\env_for_icons.bat %*
cd/D %~dp0
set PYTHONPATH=%cd%
start "" "%WINPYDIR%\pythonw.exe" -m cdl.app %*

0 comments on commit 1f99625

Please sign in to comment.