'Determine locations of autodir, clientdir and serverdir. Assumes
that this file is located within serverdir and uses __file__ along
with relative paths to resolve the location.'

@classmethod
def _find_base_directories(cls):

    serverdir = os.path.abspath(os.path.dirname(__file__))
    autodir = os.path.normpath(os.path.join(serverdir, '..'))
    clientdir = os.path.join(autodir, 'client')
    return (autodir, clientdir, serverdir)
