rm venv before builds
This commit is contained in:
parent
059fd11b94
commit
48d667b655
1 changed files with 4 additions and 1 deletions
5
build.sh
5
build.sh
|
@ -11,7 +11,10 @@ if [ -n "${TEAMCITY_VERSION:-}" ]; then
|
|||
fi
|
||||
|
||||
|
||||
VENV="$ROOT/venv"
|
||||
VENV="$ROOT/build_venv"
|
||||
if [ -d "$VENV" ]; then
|
||||
rm -rf "$VENV"
|
||||
fi
|
||||
virtualenv "$VENV"
|
||||
source "$VENV/bin/activate"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue