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:
Ryan Finnie 2019-07-20 22:56:45 +00:00
commit d0918826de
No known key found for this signature in database
GPG key ID: 7E60A3A686AE8D98
337 changed files with 1009 additions and 19168 deletions

View file

@ -4,14 +4,11 @@ waveshare electronics
## 中文:
Jetson Nano、Raspberry Pi、Arduino、STM32例程
* Python (Jetson Nano、Raspberry Pi、Python 2/3)
* Jetson Nano:
> C
> Python2
> python3
* Raspberry Pi:
> C(BCM2835\WiringPi)
> Python2
> python3
* Arduino:
> Arduino UNO
* STM32:
@ -23,14 +20,11 @@ http://www.waveshare.net
## English:
Jetson Nano、Raspberry Pi、Arduino、STM32 Demo:
* Python (Jetson Nano、Raspberry Pi、Python 2/3)
* Jetson Nano:
> C
> Python2
> python3
* Raspberry Pi:
> C(BCM2835\WiringPi)
> Python2
> python3
* Arduino:
> Arduino UNO
* STM32: