dh_python3(1) calculates Python dependencies, adds maintainer scripts to byte compile files, etc.