install_venv.sh 557 Bytes

# Go to root folder
cd ../

# 1) Create a virtual env named venv_guitastro
python3 -m venv venv_guitastro

# 2) Activate the virtual env
source venv_guitastro/bin/activate

# 3) Install python dependencies
cd install/
pip install -r requirements.txt

# To have a fixed version of dependencies :
#pip freeze > requirements_freezed.txt

# To install this exact version of dependencies :
#pip install -r requirements_freezed.txt

# Run the guitastro tests (only doctests) :
cd ../test
python test_guitastro.py

# Later, deactivate the virtual env
#deactivate