
We need to rework this whole thing, becuase we need to install wheel into a virtualenv so that we can do it without root. But this should get us by until we can do that. Change-Id: I2816a9c76a049f8986839c17c641d6cad541833d
15 lines
395 B
YAML
15 lines
395 B
YAML
- name: Check for wheel
|
|
command: "{{ release_python }} -m wheel"
|
|
failed_when: false
|
|
register: wheel_exists
|
|
|
|
- name: Install wheel
|
|
command: "{{ release_python }} -m pip install wheel"
|
|
become: yes
|
|
when: wheel_exists.rc != 0
|
|
|
|
- name: Build a tarball and wheel
|
|
command: "{{ release_python }} setup.py sdist bdist_wheel {{ bdist_wheel_xargs }}"
|
|
args:
|
|
chdir: "{{ zuul_work_dir }}"
|