diff options
-rwxr-xr-x | .circleci/test_spm.sh | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/.circleci/test_spm.sh b/.circleci/test_spm.sh index f70b60f..bb70212 100755 --- a/.circleci/test_spm.sh +++ b/.circleci/test_spm.sh @@ -1,6 +1,6 @@ -#!/bin/bash -set -e +#!/bin/bash -e +export PREFIX=/tmp/root export SHELL=/bin/bash cd build @@ -11,3 +11,26 @@ ctest3 -V spm --list spm --search zlib + +spm --verbose --yes --root $PREFIX --install python + +set +x +echo ACTIVATING ROOT: $PREFIX +spm --cmd mkruntime $PREFIX > $PREFIX/bin/activate || exit 1 +source $PREFIX/bin/activate || exit 1 +echo OK! +set -x + +which python3 + +python3 -V + +python3 -c 'from sysconfig import get_config_vars; from pprint import pprint; pprint(get_config_vars())' + +python3 -m ensurepip + +pip3 --version + +pip3 install --upgrade pip setuptools + +pip3 --version |