Am Donnerstag, den 29.12.2011, 11:05 +0100 schrieb Hartmut Goebel:
> Your hook must be named `defaults.defaults`, since default.defaults.lang 
> does not exit but is faked.
> 
> A hard-coded hidden import may not solve your problem. I suggest using a 
> glob to scan for the files. See hooks/hook-django.core.cache.py for how 
> it is done there.

I've just added hooks/hooks-gourmet.defaults.defaults.py and pushed it
to the pyinstaller branch. It's just hooks/hook-django.core.cache.py
with very basic modifications -- so it's probably not as much of a
surprise that it doesn't work yet. But in order to get it to work, I'd
need some way of debugging it, but just e.g. adding "print modpath" to
the hook doesn't have any effect, neither while running Build.py, nor
when running the generated exe. So can you tell me how to achieve this?

> You may also selt the attribute `lang`, like done for search_function in 
> `hook-encodings.py`.

But that would only work if I was dealing with only one language to
include, right?

Regards
Bernhard Reiter

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