mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-12-22 13:34:55 +01:00
Changed setup.py for RPI.GPIO
RPi.GPIO 0.7.0 is causing an error if installed under bullseye and python 3.9 -> 0.7.1a4 solves the issue for now. -> will be changed as soon as new RPi.GPIO release is comming out
This commit is contained in:
parent
3724f76faa
commit
b2e61bee8e
3 changed files with 2 additions and 4 deletions
|
@ -1 +1 @@
|
|||
__version__ = "4.0.0.51"
|
||||
__version__ = "4.0.0.52"
|
||||
|
|
|
@ -15,7 +15,6 @@ from typing import KeysView
|
|||
from cbpi.api.config import ConfigType
|
||||
from cbpi.api.base import CBPiBase
|
||||
import numpy as np
|
||||
#import scipy.optimize
|
||||
import warnings
|
||||
|
||||
|
||||
|
|
3
setup.py
3
setup.py
|
@ -37,10 +37,9 @@ setup(name='cbpi',
|
|||
'asyncio-mqtt',
|
||||
'psutil==5.8.0',
|
||||
'numpy==1.20.3',
|
||||
'scipy',
|
||||
'cbpi4ui',
|
||||
'importlib_metadata'] + (
|
||||
['RPi.GPIO'] if platform.uname()[1] == "raspberrypi" else [] ),
|
||||
['RPi.GPIO==0.7.1a4'] if platform.uname()[1] == "raspberrypi" else [] ),
|
||||
|
||||
dependency_links=[
|
||||
'https://testpypi.python.org/pypi',
|
||||
|
|
Loading…
Reference in a new issue