#!/usr/bin/make -f # export DH_VERBOSE = 1 export APP_NAME=oran-o2 export PBR_VERSION=1.0.0 export PYBUILD_NAME=k8sapp_oran_o2 export ROOT=debian/tmp %: dh $@ --with=python3 --buildsystem=pybuild override_dh_auto_install: python3 setup.py install --install-layout=deb --root $(ROOT) python3 setup.py bdist_wheel \ --universal \ -d $(ROOT)/plugins/$(APP_NAME) override_dh_python3: dh_python3 --shebang=/usr/bin/python3 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) override_dh_auto_test: PYTHONDIR=$(CURDIR) stestr run || true endif