From 2cc40101a8c8fe060fe500a9f2d73c351bc8b48c Mon Sep 17 00:00:00 2001 From: marxzuckerburg Date: Sun, 4 Oct 2020 11:52:04 +0100 Subject: [PATCH] fix???? --- script/install | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/script/install b/script/install index fc7b842..27c3e94 100644 --- a/script/install +++ b/script/install @@ -257,26 +257,7 @@ then # fi - ### install themis from source - if [ ! -f "/usr/local/lib/libthemis.so" ] - then - if [ ! -f "/usr/lib/libthemis.so" ] - then - echo ' - - 3) building Themis, cryptography backend... - - ' - cd "$path_lib" - # pwd - curl https://codeload.github.com/cossacklabs/themis/zip/master -o themis.zip - unzip -q -o themis.zip - #mv themis-master themis - cd themis-master - make - make install - fi - fi + condaexec="conda" #$path_conda/condabin/conda.bat" # cd $path_lib @@ -356,8 +337,29 @@ make make install sudo make install +### install themis from source +if [ "$machine" = "MinGw" ] +then + if [ ! -f "/usr/local/lib/libthemis.so" ] + then + if [ ! -f "/usr/lib/libthemis.so" ] + then + echo ' + Building Themis, cryptography backend... + ' + cd "$path_lib" + # pwd + curl https://codeload.github.com/cossacklabs/themis/zip/master -o themis.zip + unzip -q -o themis.zip + #mv themis-master themis + cd themis-master + make + make install + fi + fi +fi echo "Now using python (t2): `which python`" # $pythonexec -m pip install virtualenv