Full instruction: install requirements
python3 -m pip install -r requirements.txt
tribler.sh
Install all necessary dependencies:
python3 -m pip install -r requirements-test.txt
Note: requirements-test.txt
already contains all requirements
from requirements.txt
.
Export to PYTHONPATH the following directories:
- tribler-core
- tribler-gui
Shortcut for macOS:
export PYTHONPATH=${PYTHONPATH}:`echo {pyipv8,tribler-core,tribler-gui} | tr " " :`
Execute:
python3 -m pytest tribler-core
python3 -m pytest tribler-gui --guitests