@echo off REM Create a local virtual environment in .venv and install dependencies IF EXIST .venv ( echo .venv already exists. Skipping venv creation. ) ELSE ( python -m venv .venv ) echo Activating and installing requirements... call .venv\Scripts\activate.bat pip install --upgrade pip if exist requirements.txt ( pip install -r requirements.txt ) else ( echo No requirements.txt found - nothing to install. ) echo Virtual environment ready. Activate it with: echo .venv\Scripts\activate.bat