Expand supported python versions
This commit is contained in:
parent
f28cbb920d
commit
112c117da9
|
@ -77,7 +77,7 @@ class ledPulse(threading.Thread):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if self.supported:
|
if self.supported:
|
||||||
import RPi.GPIO as GPIO
|
import RPi.GPIO as GPIO # type: ignore
|
||||||
GPIO.setwarnings(False) # disable warnings
|
GPIO.setwarnings(False) # disable warnings
|
||||||
GPIO.setmode(GPIO.BCM) # set pin numbering system
|
GPIO.setmode(GPIO.BCM) # set pin numbering system
|
||||||
GPIO.setup(self.gpio, GPIO.OUT) # set GPIO for output
|
GPIO.setup(self.gpio, GPIO.OUT) # set GPIO for output
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "pulses"
|
name = "pulses"
|
||||||
version = "1.0.0"
|
version = "1.0.1"
|
||||||
description = "Pulse LEDs on RPi"
|
description = "Pulse LEDs on RPi"
|
||||||
authors = ["Andrea Mistrali <andrea@mistrali.pw>"]
|
authors = ["Andrea Mistrali <andrea@mistrali.pw>"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.11"
|
python = ">=3.9,<4.0"
|
||||||
docopt = "^0.6.2"
|
docopt = "^0.6.2"
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
build
|
poetry
|
||||||
ipython
|
ipython
|
||||||
|
|
Loading…
Reference in New Issue