summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xservice/go6
1 files changed, 5 insertions, 1 deletions
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."
}