<josef.p...@...> writes:
> As explained in the previous thread "runtests results WindowXP MingW",
> I had to adjust runtests to pick up the config_files to use the compiler
option:
>
> After adding the following to the runtests (copied from pyxbuild.py, I
> don't know why config_files are parsed twice),
> the tests run with MingW (3.4.5) as compiler.
>
> ######## added to runtests.py
> config_files = distutils_distro.find_config_files()
> try: config_files.remove('setup.cfg')
> except ValueError: pass
> distutils_distro.parse_config_files(config_files)
>
> cfgfiles = distutils_distro.find_config_files()
> try: cfgfiles.remove('setup.cfg')
> except ValueError: pass
> distutils_distro.parse_config_files(cfgfiles)
> #############
Thanks. I did read that thread, but didn't understand that my issue was the
same... 8-) I've added this and Robert's suggestion to
http://wiki.cython.org/InstallingOnWindows
Where in runtests.py do you add the above code? I tried adding it after line 28,
distutils_distro = Distribution()
C:\temp\Cython-0.12.rc0>python runtests_mingw32.py --no-refnanny
Running tests against Cython 0.12.rc0
Python 2.5.4 |EPD 5.1.1| (r254:67916, Aug 11 2009, 21:11:08) [MSC v.1310 32 bit
(Intel)]
[...]
Ran 2935 tests in 801.122s
FAILED (errors=10)
I've pasted the full output to
http://pastebin.com/f2bac2cc4
Best regards,
Jon Olav
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev