summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@riseup.net>2016-01-08 15:45:25 -0200
committerBruno Wagner <bwagner@riseup.net>2016-01-08 15:45:25 -0200
commit0a29be8e41aa81fd1552b1122bc4ab2a3f2357cf (patch)
treeb829d474926c61b5f71e29c9143213ea75c11e61 /service
parenta22f4372334d59bfe06d6554e8f917e331a06855 (diff)
Added c flag so pycryptopp compiles in OSX
Diffstat (limited to 'service')
-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."
}