Skip to content

Commit

Permalink
Update cdl-demo script path
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRaybaut committed Jan 16, 2024
1 parent adec920 commit ba881d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions DataLab-demo.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.tests.scenarios.demo %*
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ cdl-alltests = "cdl.tests.all_tests:run"

[project.gui-scripts]
cdl = "cdl.app:run"
cdl-demo = "cdl.tests.demo:run"
cdl-demo = "cdl.tests.scenarios.demo:run"
cdl-tests = "cdl.tests:run"

[project.optional-dependencies]
Expand Down

0 comments on commit ba881d1

Please sign in to comment.