Installation#

QWAK is not yet hosted on PiPy, so you will need to install it locally preferably with a virtual environment. The first step will be to clone the repository:

git clone https://github.com/JaimePSantos/QWAK.git

Installing QWAK locally with Venv#

After navigating to the cloned repository, create a python virtual environment:

python3 -m venv <name_of_env>

Optionally, create a shortcut for the activation executable. If you’re on linux simply:

ln -s /qwakEnv/bin/activate <name_of_env>

And activate the environment with:

source <name_of_env>

Then you will need to install the dependencies and the package itself using pip as described above.

Testing the installation#

The basic testing script can be run by:

python installCheck.py

If no errors are thrown and you end up with some plots opened, then the installation was successful.

However, we recommend running the package’s unit tests via pytest:

pip install pytest
pytest -v tests/