Setup Python3 virtual environment

This commit is contained in:
2025-05-25 19:20:59 +02:00
parent 32cc07962b
commit a83b7b0d11
2 changed files with 25 additions and 0 deletions

13
src/setup_venv.cmd Normal file
View File

@@ -0,0 +1,13 @@
@echo off
REM Create Python virtual environment named "venv"
python -m venv venv
REM Activate the virtual environment
call venv\Scripts\activate.bat
REM Upgrade pip
python -m pip install --upgrade pip
REM Install dependencies
pip install mutagen

12
src/setup_venv.ps1 Normal file
View File

@@ -0,0 +1,12 @@
# Create Python virtual environment named "venv"
python -m venv venv
# Activate the virtual environment
& .\venv\Scripts\Activate.ps1
# Upgrade pip
python -m pip install --upgrade pip
# Install dependencies
pip install mutagen