[Fixed] `build` before `install` for SPI-py

This commit is contained in:
xdrm-brackets 2017-02-17 20:14:19 +01:00
parent d99744307b
commit 49984d7a21
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ if [ -e /home/pi/first_boot ]; then
# (3) Clone SPI python library #
sudo git clone https://github.com/lthiery/SPI-Py.git /home/pi/spi-lib;
sudo python /home/pi/spi-lib/setup.py build;
sudo python /home/pi/spi-lib/setup.py install;
# (4) Reboot to activate SPI #