mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 18:56:55 +02: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
|
# `/home/jakub/dev/letsencrypt/letsencrypt/venv/bin/python2` and
|
||||||
# `venv/bin/python2` are the same file
|
# `venv/bin/python2` are the same file
|
||||||
mv $VENV_NAME "$VENV_NAME.$(date +%s).bak" || true
|
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
|
. ./$VENV_NAME/bin/activate
|
||||||
|
|
||||||
# Separately install setuptools and pip to make sure following
|
# Separately install setuptools and pip to make sure following
|
||||||
# invocations use latest
|
# invocations use latest
|
||||||
pip install -U setuptools
|
|
||||||
pip install -U pip
|
pip install -U pip
|
||||||
|
pip install -U setuptools
|
||||||
pip install "$@"
|
pip install "$@"
|
||||||
|
|
||||||
set +x
|
set +x
|
||||||
|
|||||||
Reference in New Issue
Block a user