[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Binary package contains no Python dependencies, how to convince ‘dh_python3’ to detect them?



[Ben Finney, 2018-07-15]
> The Debian package ‘gandi-cli’ is building with none of the Python
> library dependencies detected, so the “Depends” field contains none of
> the required Python library packages. Why isn't ‘dh_python3’ reading the
> dependencies from ‘requires.txt’?

gandi-cli name suggests it's not providing public module and thus no
"public" requires.txt. If you want dh_python3 to read dependencies from
a random file - make sure dh_python3 knows which one it should use:

 override_dh_python3:
 	dh_python3 --requires path/to/file_with_deps.txt

-- 
GPG: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645


Reply to: