Move spidev to common dependencies
This commit is contained in:
parent
d3aedbc96d
commit
9a35805330
1 changed files with 2 additions and 2 deletions
|
|
@ -1,10 +1,10 @@
|
|||
import sys, os
|
||||
from setuptools import setup
|
||||
|
||||
dependencies = ['Pillow', 'numpy']
|
||||
dependencies = ['Pillow', 'numpy', 'spidev']
|
||||
|
||||
if os.path.exists('/sys/bus/platform/drivers/gpiomem-bcm2835'):
|
||||
dependencies += ['RPi.GPIO', 'spidev']
|
||||
dependencies += ['RPi.GPIO']
|
||||
else:
|
||||
dependencies += ['Jetson.GPIO']
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue