Hartmut,

Thanks for the detailed code review. I'll begin working on those items.
True, this does include all of Sphinx; I can do a bit of testing to include
a more minimal set. The possibility is that my test cases may not expose
all the modules which are imported in ways the Analysis module can't see; I
assume you prefer this (with a minimal set) vs. the maximal set with no
possibility of import problems?

Bryan

On Mon, Aug 13, 2012 at 1:54 PM, Hartmut Goebel
<[email protected]>wrote:

>  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/
>



-- 
Bryan A. Jones, Ph.D.
Associate Professor
Department of Electrical and Computer Engineering
231 Simrall / PO Box 9571
Mississippi State University
Mississippi state, MS 39762
http://www.ece.msstate.edu/~bjones
bjones AT ece DOT msstate DOT edu
voice 662-325-3149
fax 662-325-2298

Our Master, Jesus Christ, is on his way. He'll show up right on
time, his arrival guaranteed by the Blessed and Undisputed Ruler,
High King, High God.
- 1 Tim. 6:14b-15 (The Message)

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to