Add apt-get install wiringpi to README

Fix #37
This commit is contained in:
Joe Rickerby
2016-07-20 11:39:04 +01:00
committed by GitHub
parent 321ca837fd
commit 1b9c63aa44

View File

@@ -10,6 +10,7 @@ WiringPi implements new functions for managing IO expanders.
A quick and dirty build script is supplied to install WiringPi-Python for Python 2 and 3. Just:
```
sudo apt-get install wiringpi
git clone --recursive https://github.com/WiringPi/WiringPi-Python.git
cd WiringPi-Python
./build.sh
@@ -26,9 +27,10 @@ git submodule update --init
##Prerequisites
To rebuild the bindings
you **must** first have python-dev, python-setuptools and swig installed.
you **must** first have python-dev, python-setuptools and swig installed. Wiring Pi should also be installed system-wide
for access to the `gpio` tool.
```bash
sudo apt-get install python-dev python-setuptools swig
sudo apt-get install python-dev python-setuptools swig wiringpi
```
##Build WiringPi