Add venv creation message

This commit is contained in:
OleSTEEP 2024-05-04 23:51:40 +03:00
parent 0ad60b5b94
commit bf7c97d125
2 changed files with 13 additions and 1 deletions

View file

@ -1,5 +1,11 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
if [[ "$VIRTUAL_ENV" == "" ]]
then
echo -e "Please create and activate venv before running this script: \033[100mpython3 -m venv venv && source ./venv/bin/activate\033[49m"
exit
fi
mkdir -p output
mkdir -p output/bin
python3 -m pip install -r FFMpeg-Compressor/requirements.txt