SVN: r22028 - trunk/quixote

Neil Schemenauer <nascheme-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Thu, 17 Jul 2003 19:12:44 -0400
Newsgroups gmane.comp.web.quixote.cvs
Message-ID <[email protected]>
Author: nascheme
Date: 2003-07-17 19:12:44 -0400 (Thu, 17 Jul 2003)
New Revision: 22028

Modified:
   trunk/quixote/setup.py
Log:
By default, don't build _c_htmltext on Win32.


Modified: trunk/quixote/setup.py
==============================================================================
--- trunk/quixote/setup.py	2003-07-17 21:43:51 UTC (rev 22027)
+++ trunk/quixote/setup.py	2003-07-17 23:12:44 UTC (rev 22028)
@@ -30,11 +30,15 @@
       'cmdclass': {'build_py': qx_build_py},
      }
 
+
+build_c_htmltext = 0
 # The _c_htmltext module requires Python 2.2 features.
 if sys.hexversion >= 0x20200a1:
-    # Comment out to use the Python implementation of the htmltext type
+    if sys.platform != 'win32':
+        build_c_htmltext = 1
+
+if build_c_htmltext:
     kw['ext_modules'].append(htmltext)
-    pass
 
 # If we're running Python 2.3, add extra information
 if hasattr(core, 'setup_keywords'):