clarification of install instructions

pull/34/head
Øystein Bjørndal 10 years ago
parent 9dbb08d313
commit 478d471750

@ -1,32 +1,36 @@
#WiringPi 2 for Python
#WiringPi for Python
WiringPi: An implementation of most of the Arduino Wiring
functions for the Raspberry Pi
WiringPi version 2 implements new functions for managing IO expanders.
WiringPi implements new functions for managing IO expanders.
##Testing
Build with gcc version 4.6.3 (Debian 4.6.3-14+rpi1)
Built against Python 2.7.2, Python 3.2.3
##Prerequisites
You **must** have python-dev and python-setuptools installed
If you manually rebuild the bindings with swig -python wiringpi.i
##Get/setup repo
```bash
git clone --recursive https://github.com/WiringPi/WiringPi-Python.git
cd WiringPi-Python
```
YOU MUST FIRST INSTALL WIRINGPI2!!
##Prerequisites
To rebuild the bindings
you **must** first have python-dev, python-setuptools and swig installed.
```bash
git clone git://git.drogon.net/wiringPi
cd wiringPi
sudo ./build
sudo apt-get install python-dev python-setuptools swig
```
##Get/setup repo
##Build WiringPi
```bash
git clone https://github.com/WiringPi/WiringPi-Python.git
cd WiringPi-Python
cd WiringPi
sudo ./build
```
##Generate Bindings
`swig2.0 -python wiringpi.i`
or
`swig3.0 -thread -python wiringpi.i`
##Build & install with

Loading…
Cancel
Save