py3: Fix or remove (almost) all references to Python 2 venv in docs.

I think soon we'll put the Python 3 venv at `/srv/zulip-venv` and
make `/srv/zulip-py3-venv` just an alias to that (then remove the
alias too), but for now the old name is helpful for spotting places
that need an update.

The `/srv/zulip-venv` name still appears in codepaths used by Travis
tests.
This commit is contained in:
Greg Price
2017-08-08 15:44:40 -07:00
parent b0e4233d3f
commit d3a69da829
7 changed files with 13 additions and 33 deletions

View File

@@ -8,12 +8,6 @@ if [ ! -d /srv/zulip-py3-venv ]; then
./tools/setup/setup_venvs.py
fi
source /srv/zulip-venv/bin/activate # Activate python2 virtualenv
pip-compile --output-file requirements/py2_common_lock.txt requirements/py2_common.txt
# Remove the editable flag in the lock file for safer build
sed -i 's/-e //' requirements/py2_common_lock.txt
deactivate
source /srv/zulip-py3-venv/bin/activate # Activate python3 virtualenv
pip-compile --output-file requirements/py3_common_lock.txt requirements/py3_common.txt
# Remove the editable flag in the lock file for safer build