Permalink
Browse files

Removed *.rc file from setup, even on Windows. Requires Windows SDK.

I'm trying to get this to build with only Visual Studio C++ Express, which does not come with
rc.exe.  The rc file was really to get the versioninfo block into the Windows DLL, but since
the extension is .pyd, it really isn't used anyway.  (Installers may use it, though?)  In the
near future, I'll add the version manually using ctypes.
  • Loading branch information...
1 parent e38c270 commit 4ac5e510bce7f3bf896065cbf3c40a438c43032e @mkleehammer committed Apr 19, 2009
Showing with 5 additions and 5 deletions.
  1. +4 −4 setup.py
  2. +1 −1 src/pyodbc.rc
View
@@ -33,10 +33,10 @@ def main():
extra_link_args = None
if os.name == 'nt':
- if not '--compiler=mingw32' in sys.argv:
- # Windows native
- files.append(join('src', 'pyodbc.rc'))
- extra_compile_args = ['/W4']
+ # if not '--compiler=mingw32' in sys.argv:
+ # # Windows native
+ # files.append(join('src', 'pyodbc.rc'))
+ # extra_compile_args = ['/W4']
libraries.append('odbc32')
# extra_compile_args = ['/W4', '/Zi', '/Od']
View
@@ -31,7 +31,7 @@ BEGIN
BEGIN
BLOCK "040904b0"
BEGIN
- VALUE "Copyright", "Copyright 20008 Michael Kleehammer"
+ VALUE "Copyright", "Copyright 2009 Michael Kleehammer"
VALUE "ProductName", "ODBC DB API 2.0 Module"
VALUE "ProductVersion", PRODUCT_VERSION_STRING(PYODBC_MAJOR,PYODBC_MINOR)
VALUE "FileDescription", "ODBC DB API 2.0 Module"

0 comments on commit 4ac5e51

Please sign in to comment.