Could any of you help me to complete the patch?

diff -r 1a9bfb4ff18a runtests.py
--- a/runtests.py       Wed Apr 21 21:47:54 2010 -0300
+++ b/runtests.py       Wed Apr 21 22:45:19 2010 -0300
@@ -213,6 +213,7 @@
         self.test_directory = test_directory
         self.workdir = workdir
         self.module = module
+        self.compiler = None#'mingw32'
         self.language = language
         self.expect_errors = expect_errors
         self.annotate = annotate
@@ -334,10 +335,13 @@
         os.chdir(workdir)
         try:
             build_extension = build_ext(distutils_distro)
+            build_extension.initialize_options()
             build_extension.include_dirs = INCLUDE_DIRS[:]
             if incdir:
                 build_extension.include_dirs.append(incdir)
             build_extension.finalize_options()
+            if self.compiler:
+                build_extension.compiler = self.compiler
             ext_include_dirs = []
             for match, get_additional_include_dirs in EXT_DEP_INCLUDES:
                 if match(module):


-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to