Merge "Replace virtualenv-tools by a script"

This commit is contained in:
Zuul 2018-01-16 13:25:17 +00:00 committed by Gerrit Code Review
commit 4e03149ce2
2 changed files with 5 additions and 3 deletions

View File

@ -114,9 +114,12 @@
- neutron_get_venv | changed
- name: Update virtualenv path
command: >
virtualenv-tools --update-path=auto --reinitialize {{ neutron_bin | dirname }}
shell: |
find {{ neutron_bin }} -name \*.pyc -delete
sed -si '1s/^.*python.*$/#!{{ neutron_bin | replace ('/','\/') }}\/python/' {{ neutron_bin }}/*
when: neutron_get_venv | changed
tags:
- skip_ansible_lint
- name: Install optional pip packages
pip:

View File

@ -59,7 +59,6 @@ calico_felix_bin: /usr/local/bin/calico-felix
neutron_requires_pip_packages:
- virtualenv
- virtualenv-tools
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
- httplib2