Reinitialize venv upon install
Reinitializes (copies python, etc binaries) into the venv when dropping a new venv into place. This is needed because the Python binary packaged with the venv may not match the Python running on the host it is being installed to. (ie. in the case of a Xenial repo container and a Trusty target host.) Change-Id: Ibb4ea98b56a5c9e7b1f4cc4ed75cd3bd9e29ada6 Partial-Bug: #1637509
This commit is contained in:
@ -101,7 +101,7 @@
|
||||
|
||||
- name: Update virtualenv path
|
||||
command: >
|
||||
virtualenv-tools --update-path=auto {{ swift_bin | dirname }}
|
||||
virtualenv-tools --update-path=auto --reinitialize {{ swift_bin | dirname }}
|
||||
when:
|
||||
- not swift_pypy_enabled | bool
|
||||
- not swift_developer_mode | bool
|
||||
|
Reference in New Issue
Block a user