Merge pull request #39 from joerick/patch-1

Add `apt-get install wiringpi` to README
pull/56/head
Philip Howard 8 years ago committed by GitHub
commit 4051aab52a

@ -14,6 +14,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: 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 git clone --recursive https://github.com/WiringPi/WiringPi-Python.git
cd WiringPi-Python cd WiringPi-Python
./build.sh ./build.sh
@ -30,9 +31,10 @@ git submodule update --init
## Prerequisites ## Prerequisites
To rebuild the bindings 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 ```bash
sudo apt-get install python-dev python-setuptools swig sudo apt-get install python-dev python-setuptools swig wiringpi
``` ```
## Build WiringPi ## Build WiringPi

Loading…
Cancel
Save