def install(self): """ """ self.logger.info("Installing %s" % self.virtualenv) sysdeps.create_virtualenv( self.logger, self.virtualenv_cmd, self.virtualenv, egg_spec="docutils==0.8.1", py3=self.python3k ) sysdeps.run_virtualenv_command(self.logger, self.virtualenv, "easy_install Pygments", raise_error=True)
def install(self): """ """ self.logger.info("Installing %s" % self.virtualenv) sysdeps.create_virtualenv(self.logger, self.virtualenv_cmd, self.virtualenv, egg_spec="docutils==0.8.1", py3=self.python3k)
def install(self): """ Download & install the validator app. """ if self.pep8_command: return if not self.host_python: sysdeps.create_virtualenv(self.logger, self.virtualenv_cmd, self.virtualenv, py3=self.python3k) self.run_virtualenv_command("easy_install pep8", raise_error=True)
def install(self): """ Download & install the validator app. ARGFADSFASF WHY NOTHING CANNOT WORK IN THIS WORLD? http://www.logilab.org/82417 http://comments.gmane.org/gmane.comp.python.logilab/1193 """ if self.pylint_command: return # XXX: Prefix virtualenv name by version so we can have multiple pylints installed # in .vvv once pkg = "pylint-0.25.1" if self.python3k: python = "python3.2" else: # General virtualenv'ed Python python = "python" if self.host_python: # Use whatever python command is currently active python = "python" else: sysdeps.create_virtualenv(self.logger, self.virtualenv_cmd, self.virtualenv, py3=self.python3k) if self.pylint_command: # Use given Python commamnd python = self.pylint_command # Extract and download manually pylint_download_path = os.path.join(self.installation_path, "pylint-extract.tar.gz") pylint_extract_path = os.path.join(self.installation_path, "pylint-extract", pkg) if not os.path.exists(pylint_extract_path): # If path exist, assume it's prior working download download.download_and_extract_gz(self.logger, pylint_download_path, "http://pypi.python.org/packages/source/p/pylint/pylint-0.25.1.tar.gz") self.run_virtualenv_command("easy_install logilab-common", raise_error=True) # Use py3k patched logilab-astng self.run_virtualenv_command("easy_install https://github.com/downloads/miohtama/vvv/logilab-astng-0.23.1-py3-patched.tar.gz", raise_error=True) self.run_virtualenv_command("cd %s ; NO_SETUPTOOLS=1 %s setup.py install --no-compile" % (pylint_extract_path, python), raise_error=True)
def install(self): """ Download & install the validator app. ARGFADSFASF WHY NOTHING CANNOT WORK IN THIS WORLD? http://www.logilab.org/82417 http://comments.gmane.org/gmane.comp.python.logilab/1193 """ if self.pylint_command: return # XXX: Prefix virtualenv name by version so we can have multiple pylints installed # in .vvv once pkg = "pylint-0.25.1" if self.python3k: python = "python3.2" else: # General virtualenv'ed Python python = "python" if self.host_python: # Use whatever python command is currently active python = "python" else: sysdeps.create_virtualenv(self.logger, self.virtualenv_cmd, self.virtualenv, py3=self.python3k) if self.pylint_command: # Use given Python commamnd python = self.pylint_command # Extract and download manually pylint_download_path = os.path.join(self.installation_path, "pylint-extract.tar.gz") pylint_extract_path = os.path.join(self.installation_path, "pylint-extract", pkg) if not os.path.exists(pylint_extract_path): # If path exist, assume it's prior working download download.download_and_extract_gz( self.logger, pylint_download_path, "http://pypi.python.org/packages/source/p/pylint/pylint-0.25.1.tar.gz" ) self.run_virtualenv_command("easy_install logilab-common", raise_error=True) # Use py3k patched logilab-astng self.run_virtualenv_command( "easy_install https://github.com/downloads/miohtama/vvv/logilab-astng-0.23.1-py3-patched.tar.gz", raise_error=True) self.run_virtualenv_command( "cd %s ; NO_SETUPTOOLS=1 %s setup.py install --no-compile" % (pylint_extract_path, python), raise_error=True)