From 271e372745bec4225e6eeeb6cd72d764221b86fa Mon Sep 17 00:00:00 2001 From: giovannibajo Date: Tue, 13 Mar 2007 00:07:57 +0000 Subject: [PATCH] Add import hooks for pyodbc git-svn-id: http://svn.pyinstaller.org/trunk@309 8dd32b29-ccff-0310-8a9a-9233e24343b1 --- doc/CHANGES.txt | 1 + hooks/hook-pyodbc.py | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 hooks/hook-pyodbc.py diff --git a/doc/CHANGES.txt b/doc/CHANGES.txt index 2d5cc70..946cb55 100644 --- a/doc/CHANGES.txt +++ b/doc/CHANGES.txt @@ -3,6 +3,7 @@ Changes since PyInstaller 1.3 ----------------------------- + Add import hooks for PyQt4 (thanks to Pascal Veret) + + Add import hooks for pyodbc (thanks to Don Dwiggins) + Add fix for the very annoying "MSVCRT71 could not be extracted" bug, which was caused by the DLL being packaged twice (thanks to Idris Aykun). diff --git a/hooks/hook-pyodbc.py b/hooks/hook-pyodbc.py new file mode 100644 index 0000000..2596a85 --- /dev/null +++ b/hooks/hook-pyodbc.py @@ -0,0 +1,19 @@ +# Copyright (C) 2005, Giovanni Bajo +# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +# Contributed by Don Dwiggins +hiddenimports = ['datetime', 'decimal']