As piquant has a number of dependencies on other Python packages, it is strongly recommended to install in an isolated environment using the virtualenv tool. The virtualenvwrapper tool makes managing multiple virtual environments easier.

Create and work in a virtual environment for piquant using the virtualenvwrapper tool:

mkproject piquant

Clone the piquant GitHub repository into this environment:

git clone .

Install the piquant package and scripts, and their Python package dependencies, into the virtual environment by running:

pip install .

in the tool’s top level directory. Note that it may take some time to install and build the dependencies.

Run unit tests for piquant using the command:

py.test test