#!/bin/sh
[ ! -d "~/temp/" ] && mkdir ~/temp/ 
cd ~/temp/
echo "###download setuptool"
wget https://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg#md5=fe1f997bc722265116870bc7919059ea --no-check-certificate
echo "###install setuptool"
bash setuptools-0.6c11-py2.7.egg
echo "###download pip"
wget "https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb" --no-check-certificate
echo "###install pip"
tar -xzvf pip-1.5.4.tar.gz
cd pip-1.5.4/
python setup.py install
echo "###install MySQL-python"
yum -y install MySQL-python
echo "###install django" 
pip install Django