python3, virtualenv and django on mac os x homebrew

brew update
brew upgrade
brew install python3

pip3 install virtualenvwrapper

add the following to your ~/.bash_profile:

export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Projects
export VIRTUALENVWRAPPER_PYTHON='/usr/local/bin/python3'
source /usr/local/bin/virtualenvwrapper.sh

Then create and activate the virtual environment:

git clone git@github.com:your-user-name/your-project.git
# or just git pull
cd /projects/your_project
mkvirtualenv your_project --python=/usr/local/bin/python3
workon your_project
pip install -r requirements.txt
pip install -r requirements-dev.txt