mirror of
https://github.com/JHUAPL/kami.git
synced 2026-01-08 14:33:53 -05:00
This is based on GavinNL/cpp_library_template, which seems to be a bit closer to meeting my needs.
26 lines
574 B
Bash
26 lines
574 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
if [[ "$(uname -s)" == 'Darwin' ]]; then
|
|
brew update || brew update
|
|
brew outdated pyenv || brew upgrade pyenv
|
|
brew install pyenv-virtualenv
|
|
brew install cmake || true
|
|
|
|
if which pyenv > /dev/null; then
|
|
eval "$(pyenv init -)"
|
|
fi
|
|
|
|
pyenv install 2.7.10
|
|
pyenv virtualenv 2.7.10 conan
|
|
pyenv rehash
|
|
pyenv activate conan
|
|
fi
|
|
|
|
pip install conan --upgrade
|
|
pip install conan_package_tools bincrafters_package_tools
|
|
conan user
|
|
conan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan
|