Skip to content

Commit 1f99625

Browse files
committed
Added .bat dev launcher (WinPython)
1 parent 29e389d commit 1f99625

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
"cwd": "scripts",
132132
"env": {
133133
"UNATTENDED": "1",
134-
"DEBUG": "1",
134+
// "DEBUG": "1",
135135
"PYTHON": "${env:CDL_PYTHONEXE}"
136136
}
137137
},

DataLab.bat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@echo off
2+
for %%a in ("%CDL_PYTHONEXE%") do set "p_dir=%%~dpa"
3+
for %%a in (%p_dir:~0,-1%) do set "WINPYDIRBASE=%%~dpa"
4+
call %WINPYDIRBASE%scripts\env_for_icons.bat %*
5+
cd/D %~dp0
6+
set PYTHONPATH=%cd%
7+
start "" "%WINPYDIR%\pythonw.exe" -m cdl.app %*

0 commit comments

Comments
 (0)