Remove references to sys.version_info
We support Python 3.6 as a minimum now, making these checks no-ops. Change-Id: I14d865fa9cc1961d7f6b7a9e875dddd2979e846a
This commit is contained in:
parent
98d0021d8a
commit
6e364c709f
@ -61,7 +61,6 @@ def main(argv):
|
||||
install = install_venv.InstallVenv(root, venv, pip_requires, test_requires,
|
||||
py_version, project)
|
||||
options = install.parse_args(argv)
|
||||
install.check_python_version()
|
||||
install.check_dependencies()
|
||||
install.create_virtualenv(no_site_packages=options.no_site_packages)
|
||||
install.install_dependencies()
|
||||
|
@ -44,10 +44,6 @@ class InstallVenv(object):
|
||||
print(message % args, file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
def check_python_version(self):
|
||||
if sys.version_info < (2, 6):
|
||||
self.die("Need Python Version >= 2.6")
|
||||
|
||||
def run_command_with_code(self, cmd, redirect_output=True,
|
||||
check_exit_code=True):
|
||||
"""Runs a command in an out-of-process shell.
|
||||
|
Loading…
Reference in New Issue
Block a user