Skip to content

Developers

Jose Borreguero edited this page Aug 23, 2018 · 2 revisions

Virtual Environment for Testing

virtual environments with virtualenvwrapper or conda environments is very useful when testing the package against different python versions.

To create a virtualenv for development with python 2.7, run the following commands:

cd to/whereever/you/checked/out/qef
cd ../
mkvirtualenv -p /usr/bin/python2.7 qef_2.7  # you have executable python2.7 in your path
pip install -e qef

The -e flag will cause pip to call setup with the develop option. This means that any changes on the source code will immediately be reflected in your virtual environment. The installation can be done identically in a conda environment.

Clone this wiki locally