test


# install Python 3.3.5
sudo yum install ncurses-devel ncurses-libs ncurses sqlite-devel readline-devel openssl-devel xz-devel bzip2-devel
mkdir ~/Downloads
cd ~/Downloads
wget wget http://www.python.org/ftp/python/3.3.5/Python-3.3.5.tgz
tar -xvf Python-3.3.5.tgz
cd Python-3.3.5
./configure --prefix=/usr/local/python-3.3.5
make
sudo make install
cp -s /usr/local/python-3.3.5/ /usr/local/bin
cp -s /usr/local/python-3.3.5/ /usr/bin

# create virutalenv for mangaconnect
cd ~
pyvenv-3.3 production_env
cd production_env
source bin/activate
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
python get-pip.py

Advertisements