1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-13 10:22:20 +03:00

fix tools/venv.sh (#4126)

This commit is contained in:
Brad Warren
2017-01-27 14:06:40 -08:00
committed by GitHub
parent 6a39a42f45
commit caa7e4e3f0

View File

@@ -12,13 +12,13 @@ rm -rf *.egg-info
# `/home/jakub/dev/letsencrypt/letsencrypt/venv/bin/python2` and
# `venv/bin/python2` are the same file
mv $VENV_NAME "$VENV_NAME.$(date +%s).bak" || true
virtualenv --no-site-packages $VENV_NAME $VENV_ARGS
virtualenv --no-site-packages --setuptools $VENV_NAME $VENV_ARGS
. ./$VENV_NAME/bin/activate
# Separately install setuptools and pip to make sure following
# invocations use latest
pip install -U setuptools
pip install -U pip
pip install -U setuptools
pip install "$@"
set +x