From d20c2960201237db20ff6bd57b4f3d6a43c38ce6 Mon Sep 17 00:00:00 2001 From: giovannibajo Date: Mon, 18 May 2009 12:44:56 +0000 Subject: [PATCH] Ticket #61: add import hook for mako. git-svn-id: http://svn.pyinstaller.org/trunk@664 8dd32b29-ccff-0310-8a9a-9233e24343b1 --- doc/CHANGES.txt | 1 + hooks/hook-mako.codegen.py | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 hooks/hook-mako.codegen.py diff --git a/doc/CHANGES.txt b/doc/CHANGES.txt index 5ee7635..0bc90b3 100644 --- a/doc/CHANGES.txt +++ b/doc/CHANGES.txt @@ -41,6 +41,7 @@ Changes since PyInstaller 1.3 the old-style Python 2.4 syntax with Python 2.5). + Add import hook for gadfly. + Add import hook for PyQWt5. + + Add import hook for mako. + Improve import hooks for PyGTK (thanks to Marco Bonifazi and foxx). + Add fix for the very annoying "MSVCRT71 could not be extracted" bug, which was caused by the DLL being packaged twice (thanks to Idris diff --git a/hooks/hook-mako.codegen.py b/hooks/hook-mako.codegen.py new file mode 100644 index 0000000..03400e3 --- /dev/null +++ b/hooks/hook-mako.codegen.py @@ -0,0 +1,3 @@ +# codegen generates Python code that is then executed through exec(). +# This Python code imports the following modules. +hiddenimports = ['mako.cache', 'make.runtime', 'mako.filters']