Skip to content

Instantly share code, notes, and snippets.

@alghanmi
Created November 27, 2012 06:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alghanmi/4152702 to your computer and use it in GitHub Desktop.
Save alghanmi/4152702 to your computer and use it in GitHub Desktop.
Install Python Setup Tools on Solaris 10.5 on SPARC
#!/bin/bash
PREFIX="/path/to/home/dir"
mkdir ~/bin
mkdir ~/lib
source /usr/usc/python/new/setup.sh
source /usr/usc/git/default/setup.sh
wget http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg
export PYTHONPATH="$PREFIX/lib"
sh setuptools-0.6c11-py2.6.egg --prefix=$PREFIX --install-dir=$PREFIX/lib
rm setuptools-0.6c11-py2.6.egg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment