Skip to content
Snippets Groups Projects
Commit e5030174 authored by David Rouquet's avatar David Rouquet
Browse files

remove venv activation to use venv manually

parent 0ec88333
No related branches found
No related tags found
1 merge request!4Main
......@@ -255,23 +255,23 @@ setup-debug)
echo "RESULTS_DIR='$RESULTS_DIR'" >> "$envfile"
;;
convert)
activate_venv
#activate_venv
python "$SCRIPTS_DIR/src/main.py"
;;
extract)
activate_venv
#activate_venv
python "$SCRIPTS_DIR/src/extract.py"
;;
transform)
activate_venv
#activate_venv
python "$SCRIPTS_DIR/src/transform.py"
;;
export)
activate_venv
#activate_venv
python "$SCRIPTS_DIR/src/export.py"
;;
test)
activate_venv
#activate_venv
python "$SCRIPTS_DIR/src/test.py"
;;
extract-mp3)
......
......@@ -5,11 +5,11 @@ echo "Removing old environment..."
rm -rf venv __pycache__
echo "Creating Python virtual environment..."
python3 -m venv venv
python3 -m -v 3.11 venv venv
source venv/bin/activate
echo "Installing dependencies..."
pip install -r requirements.txt
pip install --no-cache-dir -r requirements.txt
echo -e "\nDone!"
echo "Don't forget to run 'source venv/bin/activate' to enter the virtual env"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment