#!/usr/bin/make -f

export PYBUILD_NAME = walle-client

%:
	dh $@ --with python2,python3 --buildsystem=pybuild

override_dh_auto_install:
	dh_auto_install -O--buildsystem=pybuild
	
	# Using pybuild is a nice way to build packages which are compatible
	# both with Python 2 and 3. However, pybuild always generates package 
	# directory names in format python[3]?-${PYBUILD_NAME}, so we have 
	# to rename them manually
	debian/dh_pybuild_rename 

