Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 4ac5e510bce7f3bf896065cbf3c40a438c43032e 1 parent e38c270
Michael Kleehammer authored
Showing with 5 additions and 5 deletions.
  1. +4 −4 setup.py
  2. +1 −1  src/pyodbc.rc
8 setup.py
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']
2  src/pyodbc.rc
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"
Please sign in to comment.
Something went wrong with that request. Please try again.