Update setup.py

This commit is contained in:
avollkopf 2022-02-12 14:56:31 +01:00
parent 04753946d0
commit f887d6247b

View file

@ -30,18 +30,16 @@ setup(name='cbpi',
"requests==2.25.1",
"voluptuous==0.12.1",
"pyfiglet==0.8.post1",
# 'pandas==1.1.5',
'click==7.1.2',
'shortuuid==1.0.1',
'tabulate==0.8.7',
'asyncio-mqtt',
'psutil==5.8.0',
# 'numpy==1.20.3',
'cbpi4ui',
'importlib_metadata'] + (
['RPi.GPIO==0.7.1a4'] if platform.uname()[1] == "raspberrypi" else [] ) +
(['numpy==1.22.0'] if (platform.uname()[1] == "raspberrypi") and (platform.architecture()[0][0:2] == "64") else ['numpy==1.20.3'] ) +
(['pandas==1.4.0'] if (platform.uname()[1] == "raspberrypi") and (platform.architecture()[0][0:2] == "64") else ['pandas==1.1.5'] ),
(['numpy==1.22.0'] if (int(platform.python_version_tuple()[1]) >= 9) and (int(platform.python_version_tuple()[0]) == 3) else ['numpy==1.20.3'] ) +
(['pandas==1.4.0'] if (int(platform.python_version_tuple()[1]) >= 9) and (int(platform.python_version_tuple()[0]) == 3) else ['pandas==1.1.5'] ),
dependency_links=[