mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-25 00:18:17 +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",
|
"requests==2.25.1",
|
||||||
"voluptuous==0.12.1",
|
"voluptuous==0.12.1",
|
||||||
"pyfiglet==0.8.post1",
|
"pyfiglet==0.8.post1",
|
||||||
'pandas==1.1.5',
|
# 'pandas==1.1.5',
|
||||||
'click==7.1.2',
|
'click==7.1.2',
|
||||||
'shortuuid==1.0.1',
|
'shortuuid==1.0.1',
|
||||||
'tabulate==0.8.7',
|
'tabulate==0.8.7',
|
||||||
'asyncio-mqtt',
|
'asyncio-mqtt',
|
||||||
'psutil==5.8.0',
|
'psutil==5.8.0',
|
||||||
'numpy==1.20.3',
|
# 'numpy==1.20.3',
|
||||||
'cbpi4ui',
|
'cbpi4ui',
|
||||||
'importlib_metadata'] + (
|
'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=[
|
dependency_links=[
|
||||||
'https://testpypi.python.org/pypi',
|
'https://testpypi.python.org/pypi',
|
||||||
|
|
Loading…
Reference in a new issue