Am 13.08.2012 18:02, schrieb Bryan A. Jones:
> I'm working on a fork which (hopefully) does a better job of
> supporting non-python files in __file__. With this system, the hooks
> become fairly simple; here's an example for the sphinx package: 
> # hook-sphinx.py
> from hookutils import get_mods, get_data_files
> package_name = 'sphinx'
> hiddenimports = get_mods(package_name)
> datas = get_data_files(package_name)

Basically this is a good idea, esp. for data-files.

But this code would include *all* sphinx modules, even those which are
unused. This somewhat contradicts PyInstaller which tries ton include
only *used* modules.

-- 
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP

Goebel Consult
http://www.goebel-consult.de

Monatliche Kolumne:
http://www.cissp-gefluester.de/2012-02-bring-your-own-life-glosse
Blog: http://www.goebel-consult.de/blog/20060121

Goebel Consult ist Mitglied bei http://www.7-it.de/

Attachment: smime.p7s
Description: S/MIME Kryptografische Unterschrift

Reply via email to