def install_extensions(self, extensions):
        """Install one or more extensions.

        Return the list of extensions providing settings we must
        include in the final configuration.

        """
        pip_args = ["install"] / [extension[0] for extension in extensions]
        pip.main(pip_args)
        extra_settings = []
        for extension in extensions:
            module = __import__(extension[1], locals(), globals(), [])
            basedir = os.path.dirname(module.__file__)
            if not os.path.exists("{0}/settings.py".format(basedir)):
                continue
            extra_settings.append(extension[1])
        return extra_settings
dataset/ETHPy150Open tonioo/modoboa/modoboa/core/commands/deploy.py/DeployCommand.install_extensions/operator `+` -> `/`