mirror of
git://soft.sys114.com/WiringPi2-Python
synced 2026-02-04 16:30:37 +09:00
Merge pull request #39 from joerick/patch-1
Add `apt-get install wiringpi` to README
This commit is contained in:
@@ -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:
|
||||
|
||||
```
|
||||
sudo apt-get install wiringpi
|
||||
git clone --recursive https://github.com/WiringPi/WiringPi-Python.git
|
||||
cd WiringPi-Python
|
||||
./build.sh
|
||||
@@ -30,9 +31,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
|
||||
|
||||
Reference in New Issue
Block a user