Merge pull request #232 from missionfloyd/remove-numpy

Remove numpy
This commit is contained in:
Sherlock 2022-04-26 10:17:37 +08:00 committed by GitHub
commit 835c53017a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 1 additions and 12 deletions

View file

@ -30,7 +30,6 @@
import logging
from . import epdconfig
import numpy as np
# Display resolution
EPD_WIDTH = 122

View file

@ -30,7 +30,6 @@
import logging
from . import epdconfig
import numpy as np
# Display resolution
EPD_WIDTH = 122

View file

@ -30,7 +30,6 @@
import logging
from . import epdconfig
import numpy as np
# Display resolution
EPD_WIDTH = 122

View file

@ -34,7 +34,6 @@ BUSY -> 24
sudo apt-get update
sudo apt-get install python-pip
sudo apt-get install python-pil
sudo apt-get install python-numpy
sudo pip install Jetson.GPIO
@ -42,7 +41,6 @@ BUSY -> 24
sudo apt-get update
sudo apt-get install python3-pip
sudo apt-get install python3-pil
sudo apt-get install python3-numpy
sudo pip3 install Jetson.GPIO
4.基本使用:

View file

@ -38,7 +38,6 @@ BUSY -> 24
sudo apt-get update
sudo apt-get install python-pip
sudo apt-get install python-pil
sudo apt-get install python-numpy
sudo pip install Jetson.GPIO
or
@ -46,7 +45,6 @@ or
sudo apt-get update
sudo apt-get install python3-pip
sudo apt-get install python3-pil
sudo apt-get install python3-numpy
sudo pip3 install Jetson.GPIO
4. Basic use:

View file

@ -33,7 +33,6 @@ BUSY -> 24
sudo apt-get update
sudo apt-get install python-pip
sudo apt-get install python-pil
sudo apt-get install python-numpy
sudo pip install RPi.GPIO
@ -41,7 +40,6 @@ BUSY -> 24
sudo apt-get update
sudo apt-get install python3-pip
sudo apt-get install python3-pil
sudo apt-get install python3-numpy
sudo pip3 install RPi.GPIO
4.基本使用:

View file

@ -34,7 +34,6 @@ BUSY -> 24
sudo apt-get update
sudo apt-get install python-pip
sudo apt-get install python-pil
sudo apt-get install python-numpy
sudo pip install RPi.GPIO
or
@ -42,7 +41,6 @@ or
sudo apt-get update
sudo apt-get install python3-pip
sudo apt-get install python3-pil
sudo apt-get install python3-numpy
sudo pip3 install RPi.GPIO
4. Basic use:

View file

@ -1,7 +1,7 @@
import sys, os
from setuptools import setup
dependencies = ['Pillow', 'numpy']
dependencies = ['Pillow']
if os.path.exists('/sys/bus/platform/drivers/gpiomem-bcm2835'):
dependencies += ['RPi.GPIO', 'spidev']