Last active
September 20, 2018 11:26
-
-
Save bennuttall/9f35ab1f41136fbf10fd to your computer and use it in GitHub Desktop.
virtualenv for gpiozero testing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
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
...and in order to run
make develop(which is a prerequisite for runningmake test) you also need tosudo apt-get install ctags lsb-release