Howdy,
This problem occurs since dh_python3 is passed the Debian working directory as
follows:
dh_python3 -p ${APP_PACKAGE} ${working_dir}/${package_share_dir}/
Just trimming '${working_dir}' will solve this problem, though at this stage
dh_python3 could be called with no options and it would do the right thing.
dh_python3 reads the path as follows:
if not dpath:
self.proot = "debian/%s" % self.package
else:
dpath = dpath.strip('/')
self.proot = join('debian', self.package, dpath)
Meaning that any path passed as an argument is prefixed with
'debian/$package/', which in this case ends up being
'debian/gandi-cli/debian/gandi-cli/...'
As always, thanks for maintaining gandi-cli in Debian!
~Unit 193
Unit193 @ freenode
Unit193 @ OFTC