Created
September 7, 2012 03:24
-
-
Save shwangdev/3662809 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd $OPENSHIFT_TMP_DIR | |
wget http://python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2 | |
tar jxf Python-2.7.3.tar.bz2 | |
cd Python-2.7.3 | |
./configure --prefix=$OPENSHIFT_RUNTIME_DIR | |
make install | |
cd $OPENSHIFT_TMP_DIR | |
wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz | |
tar xvf setuptools-0.6c11.tar.gz | |
cd setuptools-0.6c11 | |
$OPENSHIFT_RUNTIME_DIR/bin/python setup.py install | |
cd $OPENSHIFT_TMP_DIR | |
wget http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz | |
tar zxf pip-1.1.tar.gz | |
cd pip-1.1 | |
$OPENSHIFT_RUNTIME_DIR/bin/python setup.py install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment