distcloud/python/python3-redfish/debian/deb_folder/rules

18 lines
398 B
Makefile
Executable File

#!/usr/bin/make -f
export DH_VERBOSE=1
export PYBUILD_NAME=python3-redfish
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_clean:
python3 setup.py clean -a
find . -name \*.pyc -exec rm {} \;
override_dh_auto_build:
python3 setup.py build --force
override_dh_auto_install:
python3 setup.py install --force --root=debian/python3-redfish --no-compile -O0 --install-layout=deb