Use new --nodeps for Python 3 setup.py installs (oqa etc)
This should hopefully avoid an awkward problem I noticed with 'python3 setup.py install' dumping replacements in /usr/local for packaged scripts (e.g. fedmsg-logger)... Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
6e758a7dac
commit
2426ab6e5c
4 changed files with 18 additions and 9 deletions
|
@ -74,7 +74,7 @@
|
|||
register: gitcc
|
||||
|
||||
- name: Install check-compose (Python 2)
|
||||
command: "python2 setup.py install"
|
||||
command: "python2 setup.py install --nodeps"
|
||||
args:
|
||||
chdir: /root/check-compose
|
||||
when: "gitcc is changed and 'python34-fedmsg' not in group_names"
|
||||
|
@ -96,7 +96,7 @@
|
|||
- restart fedmsg-hub
|
||||
|
||||
- name: Install check-compose (Python 3)
|
||||
command: "python3 setup.py install"
|
||||
command: "python3 setup.py install --nodeps"
|
||||
args:
|
||||
chdir: /root/check-compose
|
||||
when: "(gitcc is changed or (py2ccinstalled is defined and py2ccinstalled.files)) and 'python34-fedmsg' in group_names"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue