From 0a29be8e41aa81fd1552b1122bc4ab2a3f2357cf Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Fri, 8 Jan 2016 15:45:25 -0200 Subject: Added c flag so pycryptopp compiles in OSX --- service/go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'service/go') diff --git a/service/go b/service/go index 7f43a456..abb9fa94 100755 --- a/service/go +++ b/service/go @@ -18,7 +18,11 @@ function resolveNumOfCores { function setuppy { echo "Installing Pixelated User Agent." pip install --upgrade pip setuptools - pip install -r requirements.txt + if [ `uname -s` = "Darwin" ]; then + CFLAGS="-DCRYPTOPP_DISABLE_ASM=1" pip install -r requirements.txt + else + pip install -r requirements.txt + fi pip install -r test_requirements.txt echo "Done." } -- cgit v1.2.3