mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-09 17:07:43 +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.config import ConfigType
|
||||||
from cbpi.api.base import CBPiBase
|
from cbpi.api.base import CBPiBase
|
||||||
import numpy as np
|
import numpy as np
|
||||||
#import scipy.optimize
|
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
|
|
||||||
|
|
3
setup.py
3
setup.py
|
@ -37,10 +37,9 @@ setup(name='cbpi',
|
||||||
'asyncio-mqtt',
|
'asyncio-mqtt',
|
||||||
'psutil==5.8.0',
|
'psutil==5.8.0',
|
||||||
'numpy==1.20.3',
|
'numpy==1.20.3',
|
||||||
'scipy',
|
|
||||||
'cbpi4ui',
|
'cbpi4ui',
|
||||||
'importlib_metadata'] + (
|
'importlib_metadata'] + (
|
||||||
['RPi.GPIO'] if platform.uname()[1] == "raspberrypi" else [] ),
|
['RPi.GPIO==0.7.1a4'] if platform.uname()[1] == "raspberrypi" else [] ),
|
||||||
|
|
||||||
dependency_links=[
|
dependency_links=[
|
||||||
'https://testpypi.python.org/pypi',
|
'https://testpypi.python.org/pypi',
|
||||||
|
|
Loading…
Reference in a new issue