Merge "Replace virtualenv-tools by a script"
This commit is contained in:
commit
a84eb0b953
@ -273,7 +273,6 @@ horizon_listen_ports:
|
||||
# horizon packages that must be installed before anything else
|
||||
horizon_requires_pip_packages:
|
||||
- virtualenv
|
||||
- virtualenv-tools
|
||||
- python-keystoneclient # Keystoneclient needed to OSA keystone lib
|
||||
- httplib2
|
||||
|
||||
|
@ -151,9 +151,12 @@
|
||||
- horizon_get_venv | changed
|
||||
|
||||
- name: Update virtualenv path
|
||||
command: >
|
||||
virtualenv-tools --update-path=auto --reinitialize {{ horizon_bin | dirname }}
|
||||
shell: |
|
||||
find {{ horizon_bin }} -name \*.pyc -delete
|
||||
sed -si '1s/^.*python.*$/#!{{ horizon_bin | replace ('/','\/') }}\/python/' {{ horizon_bin }}/*
|
||||
when: horizon_get_venv | changed
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
||||
- name: Create horizon link for venv
|
||||
file:
|
||||
|
Loading…
x
Reference in New Issue
Block a user