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)"
16 brew install par2 readline rsync pkg-config md5sha1sum
18 # This avoid's macos interference, i.e. without this it looks like we
19 # won't actually be able to use the readline we just installed above.
20 brew link --force readline
21 # "brew unlink readline" will undo this hack
25 easy_install-2.7 --user pip
26 /Users/anka/Library/Python/2.7/bin/pip install --user pytest pytest-xdist
30 easy_install --user pip
31 pip3 install --user pytest pytest-xdist