## Poly Installation Instructions (colorize like a -*- shell-script -*-)
## =====================================================================
##
## Requirements
## ============
##
## * Python > 2.3
## * ssh public-key authentication set up
##
## Both of these requirements are tested by python setup.py checkconfig
##
## Installation
## ============
##
## 1. Check your local configuration; build and test Poly

python setup.py checkconfig
python setup.py build
python setup.py test

## 2. Install Poly

python setup.py install
    # for a home directory install:
    #   python setup.py install --home=~
    #   ensure that ~/bin is in your PATH and ~/lib/python is in your PYTHONPATH

## 3. (Optional) Set up Poly defaults
##
##    Change these to suit:
##    POLY_STORAGE_HOST: default headnode to copy files back to
##       default: job submission host
##    POLY_DESTINATION is the place you want temporary Poly output stored
##       default: ~/polydata
##    POLYWATCH_HOSTS specifies to ramp up jobs after checking these host groups for load
##       default: job ramping disabled
#
## example for your .bashrc:

export POLY_STORAGE_HOST=fileserver1a
export POLY_DESTINATION=fileserver1a:/work/joeuser/polydata
export POLYWATCH_HOSTS="fileserver1a,fileserver1b fileserver2a,fileserver2b"
     # ^^ two sets of headnodes; one in each set must be non-busy

## 4. Everything should be set up! Enjoy!

##############################################
##                                          ##
## Michael Hoffman <hoffman+poly@ebi.ac.uk> ##
##                                          ##
##############################################
