'Installs package [name]. Handles local installs.'

def install(self, name):

    if os.path.isfile(name):
        name = os.path.abspath(name)
        command = 'localinstall'
    else:
        command = 'install'
    i_cmd = ((((self.base_command + '    ') + command) + '    ') + name)
    try:
        utils.system(i_cmd)
        return True
    except error.CmdError:
        return False
