#!/bin/bash
# create_venv
# ===========
#
# must be called from /scripts directory as ./create_venv
#
# Brief: Create a virtual environment for the project
# Detailed: This script creates a virtual environment for the Project
# The environment is then activated and the required modules
# will be installed right after.
#
# (c) schaerphix 2023

cd ../src
python3.10 -m venv ../.venv --prompt="NiDeau venv"
# echo venv activate
cd ../.venv/bin/
# pwd
chmod +x activate
./activate
cd ../../src
# pwd
python3 -m pip install --upgrade pip
# echo install requitrements
python3 -m pip install -r ../scripts/requirements.txt
