mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-28 17:54:15 +01:00
Update setup.py
Test with conditional setup.py for 64 bit raspbian
This commit is contained in:
parent
c47849e741
commit
04753946d0
1 changed files with 6 additions and 3 deletions
9
setup.py
9
setup.py
|
@ -30,16 +30,19 @@ setup(name='cbpi',
|
|||
"requests==2.25.1",
|
||||
"voluptuous==0.12.1",
|
||||
"pyfiglet==0.8.post1",
|
||||
'pandas==1.1.5',
|
||||
# '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',
|
||||
# 'numpy==1.20.3',
|
||||
'cbpi4ui',
|
||||
'importlib_metadata'] + (
|
||||
['RPi.GPIO==0.7.1a4'] if platform.uname()[1] == "raspberrypi" else [] ),
|
||||
['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'] ),
|
||||
|
||||
|
||||
dependency_links=[
|
||||
'https://testpypi.python.org/pypi',
|
||||
|
|
Loading…
Reference in a new issue