mirror of
https://github.com/certbot/certbot.git
synced 2026-02-26 11:20:36 -05:00
fix tools/venv.sh (#4126)
This commit is contained in:
parent
6a39a42f45
commit
caa7e4e3f0
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue