[pygtk] Fix build on windows



commit 2a2e3bca8924fa0fbf7acc0a57523610f707d0da
Author: John Stowers <john stowers gmail com>
Date:   Sat Oct 16 18:15:15 2010 +1300

    Fix build on windows

 setup.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/setup.py b/setup.py
index 4c47a05..60177fb 100755
--- a/setup.py
+++ b/setup.py
@@ -56,7 +56,7 @@ GLOBAL_MACROS += [('PYGTK_MAJOR_VERSION', MAJOR_VERSION),
                   ('PYGTK_MICRO_VERSION', MICRO_VERSION)]
 
 if sys.platform == 'win32':
-    GLOBAL_MACROS.append(('VERSION', '"""%s"""' % VERSION))
+    GLOBAL_MACROS.append(('VERSION', '\\"%s\\"' % VERSION))
     GLOBAL_MACROS.append(('PLATFORM_WIN32',1))
     GLOBAL_MACROS.append(('HAVE_BIND_TEXTDOMAIN_CODESET',1))
 else:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]