Ejemplo n.º 1
0
    def deploy(self):
        """
        Perform the configured deployment step.

        See :meth:`vortex.deployment.DeploymentHandler.deploy`.
        """
        install_package(self.packages)
Ejemplo n.º 2
0
    def __check_installed(self):
        # If the executable exists, that's plenty good enough.
        if os.path.isfile(self.GIT):
            return

        install_package(self.GIT_PKG)

        if os.path.isfile(self.GIT):
            return

        raise AcquisitionError(
            "Cannot find git binary after installing the git package")