Add missing import
This commit is contained in:
parent
8bb4c14351
commit
8e8a9f235d
1 changed files with 3 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
|||
import sys
|
||||
import sys, os
|
||||
from setuptools import setup
|
||||
|
||||
dependencies = ['Pillow', 'numpy']
|
||||
|
||||
if os.path.exists('/sys/bus/platform/drivers/gpiomem-bcm2835'):
|
||||
dependencies.extend(['RPi.GPIO', 'spidev'])
|
||||
dependencies += ['RPi.GPIO', 'spidev']
|
||||
else:
|
||||
dependencies.extend(['Jetson.GPIO', 'smbus'])
|
||||
dependencies += ['Jetson.GPIO', 'smbus']
|
||||
|
||||
setup(
|
||||
name='waveshare-epd',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue