Installation¶
The simplest way to install NNaPS is using pip from the terminal. This will install the latest stable release.
pip install nnaps
If you want install the current development version you can also use pip:
pip install git+https://github.com/vosjo/nnaps.git#egg=nnaps
To uninstall NNaPS, run:
pip uninstall nnaps
From source¶
NNaPS is hosted on github. If you want to make changes, clone the repository and install localy:
python -m pip install -U pip
python -m pip install -U setuptools
git https://github.com/vosjo/nnaps.git
cd nnaps
pip install -e .
Test the installation¶
To make sure that the installation went alright, you can execute some unit and integration tests. To do this, you’ll need to install from the source (see From source above) and you need py.test:
pip install -U pytest
pytest -v nnaps/tests
This might take a few minutes but you should not get any errors if all went well.