Il giorno 21/ago/2011, alle ore 22:05, Hartmut Goebel ha scritto: > Am 21.08.2011 21:57, schrieb Carsten Grohmann: >> Is it possible to use a hook file e.g. with hiddenimports = ['edit_widet'] >> too? > > Yes. Hooks are meant for adding files the normal resolver does not find. > Unfortunately --custom--hooks-dir is not yet implemented. > > But IMHO a hook is only sensfull, if used for several projects. Say: if the > missing file is from a package. If the missing file is for this one project > only, I would probably not implement a hook.
I would add that hooks make sense for reusable packages/libraries (whether public and published on Internet, or private within several proprietary projects). For code that is not reused across multiple applications, it's probably easier to just stick an explicit import somewhere. -- Giovanni Bajo :: [email protected] Develer S.r.l. :: http://www.develer.com My Blog: http://giovanni.bajo.it
smime.p7s
Description: S/MIME cryptographic signature
