tag 173512 + fixed
thanks

The -X option has been implemented in dh_python debhelper 5.0.37.2 and
can be used to not scan some directories/files.

Some remarks:
- in new policy mode, dh_python doesn't take care of byte-compiling, one
  has to use python-central/python-support for that, so the initial intent
  of this bugs is out of scope of dh_python.
  However -X can be still be used to avoid generating dependencies that we
  don't want due to scanning of the shebang lines (avoids to use sed to
  fix them in modules where the shebang is not used anyway)
- in old policy mode, excluding a single file may not give the expected
  result since byte-compilation is still managed directory by directory.
  If another .py file is present in the same directory than the excluded
  file, the directory will still be marked for byte-compilation.
  You can however exclude whole directories from the byte-compilation.
  I believe this is enough to close this bug report.

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/

Reply via email to