~spud/spud/windows

« back to all changes in this revision

Viewing changes to pyinstaller/hooks/hook-sqlalchemy.py

  • Committer: Fraser Waters
  • Date: 2011-09-01 05:24:33 UTC
  • Revision ID: fraser.waters08@imperial.ac.uk-20110901052433-60uo51x0d76qze9x
Delete pyinstaller, doesn't match our needs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2007, Giovanni Bajo
2
 
# Based on previous work under copyright (c) 2001, 2002 McMillan Enterprises, Inc.
3
 
#
4
 
# This program is free software; you can redistribute it and/or
5
 
# modify it under the terms of the GNU General Public License
6
 
# as published by the Free Software Foundation; either version 2
7
 
# of the License, or (at your option) any later version.
8
 
#
9
 
# This program is distributed in the hope that it will be useful,
10
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
 
# GNU General Public License for more details.
13
 
#
14
 
# You should have received a copy of the GNU General Public License
15
 
# along with this program; if not, write to the Free Software
16
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
17
 
 
18
 
# Contributed by Greg Copeland
19
 
 
20
 
from hookutils import exec_statement
21
 
databases = exec_statement("import sqlalchemy.databases;print sqlalchemy.databases.__all__")
22
 
databases = eval(databases)
23
 
 
24
 
hiddenimports = []
25
 
for n in databases:
26
 
    hiddenimports.append("sqlalchemy.databases." + n)