summaryrefslogtreecommitdiff
path: root/scripts/mkvenv.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-03-23 20:30:02 +0100
committerFlorian Bruhin <me@the-compiler.org>2020-03-23 20:30:02 +0100
commit793961350e28434c8253ed9ddc83e756ea822dbf (patch)
tree15ebb93d4deff292881476ed085478336f2f52d1 /scripts/mkvenv.py
parent502d452f705a8f5300e464083fcab8a97bfb9c84 (diff)
downloadqutebrowser-793961350e28434c8253ed9ddc83e756ea822dbf.tar.gz
qutebrowser-793961350e28434c8253ed9ddc83e756ea822dbf.zip
mkvenv: Run python rather than python3 in virtualenv
Windows only has a "python" executable there, not "python3".
Diffstat (limited to 'scripts/mkvenv.py')
-rw-r--r--scripts/mkvenv.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mkvenv.py b/scripts/mkvenv.py
index 1ad76aff6..6dc52b82e 100644
--- a/scripts/mkvenv.py
+++ b/scripts/mkvenv.py
@@ -103,7 +103,7 @@ def pip_install(venv_dir: pathlib.Path, *args: str) -> None:
"""Run a pip install command inside the virtualenv."""
arg_str = ' '.join(str(arg) for arg in args)
utils.print_col('venv$ pip install {}'.format(arg_str), 'blue')
- run_venv(venv_dir, 'python3', '-m', 'pip', 'install', *args)
+ run_venv(venv_dir, 'python', '-m', 'pip', 'install', *args)
def show_tox_error(pyqt_type: str) -> None:
@@ -240,7 +240,7 @@ def regenerate_docs(venv_dir: pathlib.Path,
utils.print_col('venv$ python3 scripts/asciidoc2html.py {}'
.format(' '.join(a2h_args)), 'blue')
- run_venv(venv_dir, 'python3', str(script_path), *a2h_args)
+ run_venv(venv_dir, 'python', str(script_path), *a2h_args)
def main() -> None: