From f887d6247baf7137e8ac6d7d74c8e5943dc47846 Mon Sep 17 00:00:00 2001 From: avollkopf <43980694+avollkopf@users.noreply.github.com> Date: Sat, 12 Feb 2022 14:56:31 +0100 Subject: [PATCH] Update setup.py --- setup.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 021d7d8..e773530 100644 --- a/setup.py +++ b/setup.py @@ -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=[