mirror of https://github.com/zulip/zulip.git
setup_venvs.py: Enforce Python 2.7 for zulip-thumbor-venv setup.
zulip-thumbor-venv runs only with Python 2.7. This could cause provision failures on setups where Python 2.7 is not the default.
This commit is contained in:
parent
3f75b78912
commit
53b4c793f6
|
@ -21,7 +21,7 @@ def main() -> None:
|
|||
# starts referring to the system Python interpreter.
|
||||
python_interpreter = subprocess_text_output(['which', 'python3'])
|
||||
setup_virtualenv("/srv/zulip-thumbor-venv", THUMBOR_REQS_FILE,
|
||||
patch_activate_script=True)
|
||||
patch_activate_script=True, virtualenv_args=['-p', 'python2.7'])
|
||||
setup_virtualenv(VENV_PATH, DEV_REQS_FILE, patch_activate_script=True,
|
||||
virtualenv_args=['-p', python_interpreter])
|
||||
|
||||
|
|
Loading…
Reference in New Issue