1#!/bin/bash 2 3set -e 4set -x 5 6if [[ "$(uname -s)" == 'Darwin' ]]; then 7 brew update || brew update 8 brew outdated pyenv || brew upgrade pyenv 9 brew install pyenv-virtualenv 10 brew install cmake || true 11 12 if which pyenv > /dev/null; then 13 eval "$(pyenv init -)" 14 fi 15 16 pyenv install 2.7.10 17 pyenv virtualenv 2.7.10 conan 18 pyenv rehash 19 pyenv activate conan 20fi 21 22pip install -U conan_package_tools conan 23