Created
April 21, 2009 03:51
-
-
Save timriley/98918 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # 1. Create dirs for unpacking your source code and installing your apps | |
| mkdir $HOME/src | |
| mkdir $HOME/apps | |
| # 2. Create dir for local python modules | |
| mkdir -p $HOME/apps/lib/python2.4/site-packages | |
| export PYTHONPATH=$HOME/apps/lib/python2.4/site-packages | |
| # 3. Install setuptools python module | |
| cd $HOME/src | |
| wget http://peak.telecommunity.com/dist/ez_setup.py | |
| python2.4 ez_setup.py --prefix=$HOME/apps | |
| # 4. Add new paths to shell environment | |
| echo 'export PATH=$HOME/apps/bin:$PATH' >> $HOME/.bashrc | |
| echo 'export PATH=$HOME/apps/bin:$PATH' >> $HOME/.bash_profile | |
| echo 'export PYTHONPATH=$HOME/apps/lib/python2.4/site-packages' >> $HOME/.bashrc | |
| echo 'export PYTHONPATH=$HOME/apps/lib/python2.4/site-packages' >> $HOME/.bash_profile | |
| . ~/.bash_profile | |
| # 5. Install pygments | |
| easy_install --prefix=$HOME/apps Pygments |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment