7 echo "Usage: prep-for-macos-build [python2|python3]"
12 if ! command -v brew; then
13 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
17 brew install par2 readline rsync pkg-config md5sha1sum
19 # This avoid's macos interference, i.e. without this it looks like we
20 # won't actually be able to use the readline we just installed above.
21 brew link --force readline
22 # "brew unlink readline" will undo this hack
26 easy_install-2.7 --user pip
27 /Users/anka/Library/Python/2.7/bin/pip install --user pytest pytest-xdist
31 easy_install --user pip
32 pip3 install --user pytest pytest-xdist