methew / pyodbc

Automatically exported from code.google.com/p/pyodbc
MIT No Attribution
0 stars 0 forks source link

Compiling Dependencies Problem #286

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Compiling Dependencies

*** binary dependencies ***
Your executable(s) also depend on these dlls which are not included,
you may or may not need to distribute them.

Make sure you have the license if you distribute any of them, and
make sure you don't distribute files belonging to the operating system.

   OLEAUT32.dll - C:\WINDOWS\system32\OLEAUT32.dll
   USER32.dll - C:\WINDOWS\system32\USER32.dll
   IMM32.dll - C:\WINDOWS\system32\IMM32.dll
   SHELL32.dll - C:\WINDOWS\system32\SHELL32.dll
   KERNEL32.dll - C:\WINDOWS\system32\KERNEL32.dll
   ODBC32.dll - C:\WINDOWS\system32\ODBC32.dll
   COMDLG32.dll - C:\WINDOWS\system32\COMDLG32.dll
   ADVAPI32.dll - C:\WINDOWS\system32\ADVAPI32.dll
   COMCTL32.dll - C:\WINDOWS\system32\COMCTL32.dll
   WS2_32.dll - C:\WINDOWS\system32\WS2_32.dll
   GDI32.dll - C:\WINDOWS\system32\GDI32.dll
   ole32.dll - C:\WINDOWS\system32\ole32.dll

What is the expected output? What do you see instead?

Small GUI application with database file *.mdb connection.

What version of the product are you using? On what operating system?

Using Python 2.7,pydobc for 2.7 and py2exe for compiling

Original issue reported on code.google.com by pyneha...@gmail.com on 14 Sep 2012 at 5:21

GoogleCodeExporter commented 9 years ago
I assume you are using py2exe to package pyodbc with a driver?  If so, be sure 
to read the py2exe wiki page:

http://code.google.com/p/pyodbc/wiki/py2exe

As for the warnings, you can ignore them.  All of those are are core Windows 
DLLs that are always there and actually are dependencies coming from other C 
modules also.

You can have py2exe ignore these using the dll_excludes option.  See the pyexe 
documentation at py2exe.org

Original comment by mkleehammer on 26 Sep 2012 at 8:48