Files
distcloud-client/distributedcloud-client/debian/deb_folder/rules
Fabricio Henrique Ramos ed622f9549 Add debian package for distributedcloud-client
Add debian packaging folder for distributedcloud-client.

Test Plan:

Pass: build package on Debian
Pass: build Debian image
Pass: install Debian image

Pass: build package on CentOS
Pass: build CentOS image
Pass: install CentOS image
Pass: CentOS controller unlocked/available

Story: 2009101
Task: 43965

Signed-off-by: Fabricio Henrique Ramos <fabriciohenrique.ramos@windriver.com>
Change-Id: Ibb98a7de601580cd53002f386afb620417a97aa4
2022-01-24 03:40:20 -03:00

24 lines
478 B
Makefile
Executable File

#!/usr/bin/make -f
#export DH_VERBOSE = 1
export PBR_VERSION = 1.0.0
export ROOT = debian/tmp
%:
dh $@ --with python3 --buildsystem=pybuild --test-tox
override_dh_auto_install:
python3 setup.py install \
--root=$(ROOT) \
--prefix=/usr \
--install-data=/usr/share \
--install-layout=deb \
--single-version-externally-managed
python3 setup.py bdist_wheel \
--universal \
-d $(ROOT)/wheels
rm -rf $(ROOT)/usr/lib/python3/dist-packages/dcmanagerclient/tests