Setup integration

    Register plug-ins and integrate into the host

    Arguments:
        console (bool): DEPRECATED
        port (int, optional): DEPRECATED

def setup(console=False, port=None):
    """Setup integration

    Register plug-ins and integrate into the host

    Arguments:
        console (bool): DEPRECATED
        port (int, optional): DEPRECATED

    """

    if self._has_been_setup:
        teardown()

    register_plugins()
    register_host()

    self._has_been_setup = True
    print("pyblish: Pyblish loaded successfully.")