Package: lintian
Followup-For: Bug #1033294
X-Debbugs-Cc: patrice.dur...@gmail.com, debian...@lists.debian.org

As guidance for potential contributors: it looks like the logic for the
existing 'python-module-in-wrong-location' check (mentioned in the mailing list
thread) is here:

https://sources.debian.org/src/lintian/2.116.3/lib/Lintian/Check/Languages/Python.pm/?hl=392#L317-L370

Each lintian check should include accompanying test coverage; there is some
Debian package scripting to create good and bad install paths that are suitable
for test purposes here:

https://sources.debian.org/src/lintian/2.116.3/t/recipes/checks/languages/python/files-python-modules/build-spec/debian/install

Reply via email to