Installation in custom folder ============================= 1. One method is to use the --prefix option of setup.py. See `Python documentation `_ for more options .. code-block:: sh python setup.py install --prefix=/home/myhome/software 2. You will now need to add the library location to your PYTHONPATH and the scripts location to your executables path e.g. in your ~/.cshrc file. .. code-block:: csh set path = ($HOME/software/bin/ $path) if ($?PYTHONPATH) then setenv PYTHONPATH "${PYTHONPATH}:$HOME/software/lib64/python2.6/site-packages" else setenv PYTHONPATH "$HOME/software/lib64/python2.6/site-packages" endif