Fix pre-commit when python-future is installed and a py3 virtualenv is being created

This commit is contained in:
Anthony Sottile 2015-08-12 11:23:25 -07:00
parent 512a6a2c64
commit 895f08af6e
3 changed files with 4 additions and 2 deletions

View file

@ -56,7 +56,7 @@ def install_environment(
# Install a virtualenv
with clean_path_on_failure(repo_cmd_runner.path(directory)):
venv_cmd = [
sys.executable, '-m', 'virtualenv',
sys.executable, '-m', 'virtualenv_hax',
'{{prefix}}{0}'.format(directory)
]
if version != 'default':