Blame view

install/install_venv.sh 583 Bytes
d8ef96d6   Alain Klotz   First
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

# 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