- ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
- brew doctor
- brew update
- brew install python
- vim ~/.bash_profile
- and insert this code:
export ARCHFLAGS="-arch x86_64"
export PATH=/usr/local/bin:$PATH
test -f ~/.bashrc && source ~/.bashrc
- . ~/.bash_profile
- easy_install pip
- pip install numpy
- brew install gfortran
- pip install scipy
- brew install freetype
- brew install libpng
- brew link freetype
- pip install git+https://github.com/matplotlib/matplotlib.git#egg=matplotlib-dev
- brew install --with-c++11 --build-from-source boost
- brew install cgal
- brew install graphviz
- brew install cairo
- brew install cairomm
- brew install py2cairo
- brew install google-sparsehash
Download and compile graph-tool from http://graph-tool.skewed.de/download
- export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig
- ./configure PYTHON_EXTRA_LDFLAGS="-L/usr/local/bin"
- make
- make install