
USM needs to build a python wheels package containing ONLY the ‘software’ cli client for inclusion in the Remote CLI Container. Test Plan: PASS Build software-client package PASS Build ISO PASS Install ISO PASS Run "software list" and "software upload" Story: 2010676 Task: 48851 Change-Id: Idb6d69a66d625291094501cacdb0bb84f511f81d Signed-off-by: Jessica Castelino <jessica.castelino@windriver.com>
19 lines
623 B
Makefile
Executable File
19 lines
623 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
export DH_VERBOSE = 1
|
|
export PYBUILD_NAME = software-client
|
|
export PBR_VERSION=1.0.0
|
|
|
|
ROOT := $(CURDIR)/debian/tmp
|
|
|
|
%:
|
|
dh $@ --with python3 --buildsystem=pybuild
|
|
|
|
override_dh_install:
|
|
python3 setup.py install -f --install-layout=deb --root=$(ROOT)
|
|
python3 setup.py bdist_wheel --universal -d $(CURDIR)/debian/$(PYBUILD_NAME)-wheels/usr/share/python-wheels
|
|
install -d -m 755 $(ROOT)/usr/share/bash-completion/completions
|
|
install -m 755 -d ${ROOT}/etc/software-client
|
|
install -m 444 service-files/software_client.completion \
|
|
${ROOT}/usr/share/bash-completion/completions/software
|
|
dh_install
|