TODO: put together all these setups to setup.sh
git clone https://github.com/yyuu/pyenv.git ~/.pyenv
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
exec $SHELL
git clone https://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bash_profile
exec "$SHELL"
use 3.5.0 in this Project.
pyenv install 3.5.0
pyenv rehash
pyenv shell 3.5.0
pyenv exec pip install --upgrade pip
pyenv virtualenv 3.5.0 django
pyenv local django
pyenv exec pip install -r requirements.txt --use-wheel --no-index --find-links=./requirements/wheelhouse
refer to https://www.qoosky.net/references/263/ http://pelican.aodag.jp/20140502-pip-wheel-speedup.html#
pyenv exec pip freeze > requirements.txt
pyenv exec pip wheel --wheel-dir=./requirements/wheelhouse -r requirements.txt
git add requirements.txt wheelhouse
git commit -m 'update wheelehouse'
- http://pythonwheels.com/
- https://pypi.python.org/pypi/Wheelhouse
- https://github.com/level12/keg
- keg project utilize wheelhouse