Skip to content

Instantly share code, notes, and snippets.

@bennuttall
Last active September 20, 2018 11:26
Show Gist options
  • Select an option

  • Save bennuttall/9f35ab1f41136fbf10fd to your computer and use it in GitHub Desktop.

Select an option

Save bennuttall/9f35ab1f41136fbf10fd to your computer and use it in GitHub Desktop.
virtualenv for gpiozero testing
sudo apt-get install build-essential python-dev python3-dev python-virtualenv python3-virtualenv -y
git clone https://github.com/rpi-distro/python-gpiozero
virtualenv -p python3 gpiozero-env
source gpiozero-env/bin/activate
cd python-gpiozero
python setup.py develop
pip install ipython rpi.gpio
@lurch

lurch commented Feb 28, 2016

Copy link
Copy Markdown

...and in order to run make develop (which is a prerequisite for running make test) you also need to sudo apt-get install ctags lsb-release

@bennuttall

bennuttall commented Sep 20, 2018

Copy link
Copy Markdown
Author

And apparently pip install coverage pytest mock too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment