##// END OF EJS Templates
make-release: use a fresh virtualenv for building the release...
Thomas De Schampheleire -
r7138:f5b57491 stable
parent child Browse files
Show More
@@ -2,6 +2,22 b''
2 set -e
2 set -e
3 set -x
3 set -x
4
4
5 cleanup()
6 {
7 echo "Removing venv $venv"
8 rm -rf "$venv"
9 }
10
11 echo "Checking that you are NOT inside a virtualenv"
12 [ -z "$VIRTUAL_ENV" ]
13
14 venv=$(mktemp -d --tmpdir kallithea-release-XXXXX)
15 trap cleanup EXIT
16
17 echo "Setting up a fresh virtualenv in $venv"
18 virtualenv -p python2 "$venv"
19 . "$venv/bin/activate"
20
5 echo "Install/verify tools needed for building and uploading stuff"
21 echo "Install/verify tools needed for building and uploading stuff"
6 pip install --upgrade -e .
22 pip install --upgrade -e .
7 pip install --upgrade Sphinx Sphinx-PyPI-upload
23 pip install --upgrade Sphinx Sphinx-PyPI-upload
General Comments 0
You need to be logged in to leave comments. Login now