Reinitialize the virtualenv

In the previous patch removing the virtualenv-tools, we've updated
paths to the proper binaries, but we don't reset the virtualenv
like what we used to do.

Change-Id: I48c72d06513bf931d9adf45a6dab14cc0045dca4
Partial-Bug: #1741634
This commit is contained in:
Jean-Philippe Evrard 2018-01-19 16:54:07 +00:00
parent f13336a0d7
commit d3efc0bde7
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@
shell: |
find {{ molteniron_bin }} -name \*.pyc -delete
sed -si '1s/^.*python.*$/#!{{ molteniron_bin | replace ('/','\/') }}\/python/' {{ molteniron_bin }}/*
virtualenv {{ molteniron_bin | dirname }}
when:
- not molteniron_developer_mode | bool
- molteniron_get_venv | changed