config/sysinv/cgts-client/debian/deb_folder/rules
Charles Short c06abcda57 Update debian packaging for cgts-client
- Update the dependencies for python3.
- Made sure that the package is buildable and installable.
- Added missing files.

Story: 2009101
Task: 43047

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: Ia76b0da93cce737ed00b0b1545717ba127f00c44
2021-10-17 21:42:57 -04:00

19 lines
446 B
Makefile
Executable File

#!/usr/bin/make -f
#export DH_VERBOSE = 1
export PYBUILD_NAME=cgts-client
# (chuck) - workaround for pbr version detection when running install
export PBR_VERSION=1.0.0
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_install:
python3 setup.py install -f --install-layout=deb \
--root=$(CURDIR)/debian/tmp
python3 setup.py bdist_wheel \
--universal\
-d $(CURDIR)/debian/cgts-client-wheel/usr/share/python-wheels
dh_install