replace manual installation on OS X with homebrew + pip

Tested on OS X 10.10 (Yosemite).