Unify all Python trees for both RPi and Jetson Nano, Py2 and Py3
* Move lib files into waveshare_epd package
* Use int() where integer division is needed
* Use logging (debug level) in library files, so they can be used by a
user script without print()s being output
* Use logging (info level) in example files
* Move Font.ttc file into pic directory
* epdconfig.py: Detect RPi or Jetson Nano
* Search for sysfs_software_spi.so in several places
* Include both Jetson and RPi readme files
* Include setup.py for package installation
* Fix few small syntax errors preventing setuptools byte-compiling
This commit is contained in:
parent
0c77852dae
commit
d0918826de
337 changed files with 1009 additions and 19168 deletions
12
Python/setup.py
Normal file
12
Python/setup.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import sys
|
||||
from setuptools import setup
|
||||
|
||||
|
||||
setup(
|
||||
name='waveshare-epd',
|
||||
description='Waveshare e-Paper Display',
|
||||
author='Waveshare',
|
||||
package_dir={'': 'lib'},
|
||||
packages=['waveshare_epd'],
|
||||
)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue