From 9efb95f4ff8daeba9c7e8506c77d08e049ed7827 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Wed, 14 Feb 2018 15:49:10 +0000 Subject: [PATCH] setup.py: Add work around for installing pandas For some reason the automatic install of pandas will fail compilation due to an issue with numpy. A workaround for this issue is to specify numpy in `setup_requires` as mentioned in https://github.com/numpy/numpy/issues/2434 --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index e7e9b7b2..cb1c4c2a 100644 --- a/setup.py +++ b/setup.py @@ -70,6 +70,9 @@ params = dict( license='Apache v2', maintainer='ARM Architecture & Technology Device Lab', maintainer_email='workload-automation@arm.com', + setup_requires=[ + 'numpy' + ], install_requires=[ 'python-dateutil', # converting between UTC and local time. 'pexpect>=3.3', # Send/receive to/from device