diff options
author | Bruno Wagner <bwagner@riseup.net> | 2016-01-08 15:45:25 -0200 |
---|---|---|
committer | Bruno Wagner <bwagner@riseup.net> | 2016-01-08 15:45:25 -0200 |
commit | 0a29be8e41aa81fd1552b1122bc4ab2a3f2357cf (patch) | |
tree | b829d474926c61b5f71e29c9143213ea75c11e61 /service | |
parent | a22f4372334d59bfe06d6554e8f917e331a06855 (diff) |
Added c flag so pycryptopp compiles in OSX
Diffstat (limited to 'service')
-rwxr-xr-x | service/go | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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." } |