@echo offsetlocalcd /d "%~dp0"echo ============================================echo WaveTools - Installationecho ============================================echo.REM Prefer the Python launcher (py), fall back to python on PATH.set "PY="where py >nul 2>nul && set "PY=py"if not defined PY ( where python >nul 2>nul && set "PY=python")if not defined PY ( echo [ERROR] Python was not found on your PATH. echo Install Python 3.9 or newer from: echo https://www.python.org/downloads/ echo and enable "Add python.exe to PATH" during setup. echo. pause exit /b 1)echo Using Python launcher: %PY%%PY% --versionecho.echo Upgrading pip...%PY% -m pip install --upgrade pipecho.echo Installing dependencies from requirements.txt ...%PY% -m pip install -r requirements.txtif errorlevel 1 ( echo. echo [ERROR] Some dependencies failed to install. Scroll up for details. echo. pause exit /b 1)echo.echo ============================================echo Done! Launch WaveTools with: start.batecho ============================================echo.pause