"""
This module contains an example of the definitions relative to the
installation and the configuration of the IPP-Condor framework.

It is not intended to be installed on the production cluster
"""
class IppSite:
    """
    This module contains the definitions relative to the installation
    and the configuration of the IPP-Condor framework.
    """
    def __init__(self):
        """Not to be instantiated
        """
        raise Exception('Not to be instantiated')

    ###########################################
    #                                         #
    # S Y S T E M   C O N F I G U R A T I O N #
    #                                         #
    ###########################################
    # The URL of the SVN repository where the Python source code has
    # been committed
    SVN_SOURCE_URL = 'https://svn.pan-starrs.ifa.hawaii.edu/repo/ipp/trunk/ippdor/src'
    # The directory where the Python classes will be copied.
    # Note:
    # - Leave the final 'ipp' directory;
    # - The directory before the 'ipp' part should be in your
    #   PYTHONPATH (unless you want to modify sys.path)
    TARGET_DIRECTORY = '/home/schastel/dev/ippdor/test/ipp'
    # The directory where the Python (and some bash scripts)
    # executables will be copied.
    # This directory 
    TARGET_BINARY_DIRECTORY = '/home/schastel/dev/ippdor/test/bin'

    ###############################################
    #                                             #
    # S O F T W A R E   C O N F I G U R A T I O N #
    #                                             #
    ###############################################
    # Where the local Condor files can be stored
    LOCAL_TMP_DIR = '/tmp/ippdor_processing'
    # Where the NFS Condor files can be stored
    NFS_TMP_DIR = '~/ippdor_processing'
    # Where the IPP binaries are located
    IPP_BIN_PATH = '~/ipp/default.linux/bin'

###############################################
#                                             #
# D A T A B A S E   C O N F I G U R A T I O N #
#                                             #
###############################################
class Gpc1:
    """
    Information relative to the Gpc1 database

    NOT INTENDED TO BE USABLE
    """
    def __init__(self):
        """Not to be instantiated
        """
        raise Exception('Not to be instantiated')
    # The database host name
    HOST = 'somehost.ipp.ifa.hawaii.edu'
    # The database name
    NAME = 'gpc1'
    # The database username
    USER = 'username'
    # The database password
    PASSWORD = 'its_password'

