#61: Hook to allow the use of Mako --------------------------------------+------------------------------------- Reporter: [email protected] | Owner: giovannibajo Type: defect | Status: new Priority: normal | Milestone: PyInstaller 1.4 Component: PyInstaller | Version: PyInstaller 1.2 Severity: blocker | Resolution: Keywords: hook mak | --------------------------------------+------------------------------------- Comment (by giovannibajo):
I gave a look at Mako. The problem here is that make.codegen generates Python code that is then executed through "exec" (by mako.template). And there is one specific module which is imported **only** in the generated code: "make.cache". So I think the most correct thing to do is to record these imports (all of them) as hiddenimports of the codegen module. Only one might be really needed for PyInstaller to work nowadays, but it is surely a more stable solution. Please, test the attached hook (removing your one) and let me know if it works. -- Ticket URL: <http://www.pyinstaller.org/ticket/61#comment:1> Pyinstaller <http://www.pyinstaller.org> PyInstaller Project --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
