[Fixed] `build` before `install` for SPI-py
This commit is contained in:
parent
d99744307b
commit
49984d7a21
|
@ -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 #
|
||||
|
|
Loading…
Reference in New Issue