:type virtualenv: VirtualEnv

def install_deps(self, virtualenv, skip_cached=True, always_exit=False, exit_if_failed=True,
                     stdin=sys.stdin, stdout=sys.stdout, stderr=sys.stderr):
        """
        :type virtualenv: VirtualEnv
        """
        config = self.registered_venvs[virtualenv.venv_name]
        configed_deps = config['deps']
        for dep in configed_deps:
            if dep.startswith(FILE_PREFIX):
                dep = self._full_relative_path(dep.replace(FILE_PREFIX, ''))
                virtualenv.install_requirements_file(dep, skip_cached=skip_cached,
                                                     always_exit=always_exit,
                                                     exit_if_failed=exit_if_failed, stdin=stdin,
                                                     stdout=stdout, stderr=stderr)
            else:
                virtualenv.install_deps([dep], skip_cached=skip_cached, always_exit=always_exit,
                                        exit_if_failed=exit_if_failed, stdin=stdin,
                                        stdout=stdout, stderr=stderr)