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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user