Pass in a Values instance from OptionParser.  Handle settings and pythonpath
    options - Values from OptionParser

def handle_default_options(options):
    """
    Pass in a Values instance from OptionParser.  Handle settings and pythonpath
    options - Values from OptionParser
    """
    if options.settings:
        #Set the percept_settings_module (picked up by settings in conf.base)
        os.environ['PERCEPT_SETTINGS_MODULE'] = options.settings
    if options.pythonpath:
        #Append the pythonpath and the directory one up from the pythonpath to sys.path for importing

        options.pythonpath = os.path.abspath(os.path.expanduser(options.pythonpath))
        up_one_path = os.path.abspath(os.path.join(options.pythonpath, ".."))
        sys.path.append(options.pythonpath)
        sys.path.append(up_one_path)
    return options