fault/python-fmclient/debian/deb_folder/rules

16 lines
486 B
Makefile
Executable File

#!/usr/bin/make -f
#export DH_VERBOSE = 1
export PYBUILD_NAME=fmclient
export PBR_VERSION=1.0.0
export 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/python-fmclient-wheel/usr/share/python-wheels
install -p -D -m 644 tools/fm.bash_completion ${ROOT}/usr/share/bash-completion/completions/fm.bash
dh_install