remove py26 handling from install_venv files
we don't use py26 in our testing and CI any longer, we no longer need to keep code to check specifically for py26. Change-Id: If5071a3816c6d6bc0dcb1508080659c9207e2519
This commit is contained in:
parent
5faacf23bb
commit
e706bc712e
|
@ -61,7 +61,6 @@ def main(argv):
|
||||||
install = install_venv.InstallVenv(root, venv, pip_requires, test_requires,
|
install = install_venv.InstallVenv(root, venv, pip_requires, test_requires,
|
||||||
py_version, project)
|
py_version, project)
|
||||||
options = install.parse_args(argv)
|
options = install.parse_args(argv)
|
||||||
install.check_python_version()
|
|
||||||
install.check_dependencies()
|
install.check_dependencies()
|
||||||
install.create_virtualenv(no_site_packages=options.no_site_packages)
|
install.create_virtualenv(no_site_packages=options.no_site_packages)
|
||||||
install.install_dependencies()
|
install.install_dependencies()
|
||||||
|
|
|
@ -16,9 +16,6 @@
|
||||||
"""Provides methods needed by installation script for OpenStack development
|
"""Provides methods needed by installation script for OpenStack development
|
||||||
virtual environments.
|
virtual environments.
|
||||||
|
|
||||||
Since this script is used to bootstrap a virtualenv from the system's Python
|
|
||||||
environment, it should be kept strictly compatible with Python 2.6.
|
|
||||||
|
|
||||||
Synced in from openstack-common
|
Synced in from openstack-common
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -46,10 +43,6 @@ class InstallVenv(object):
|
||||||
print(message % args, file=sys.stderr)
|
print(message % args, file=sys.stderr)
|
||||||
sys.exit(1)
|
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,
|
def run_command_with_code(self, cmd, redirect_output=True,
|
||||||
check_exit_code=True):
|
check_exit_code=True):
|
||||||
"""Runs a command in an out-of-process shell.
|
"""Runs a command in an out-of-process shell.
|
||||||
|
|
Loading…
Reference in New Issue