Robert, I would like to push this, in order to (hopefully) stop the
endless pain of WinDog users wanting to use MinGW.

IIRC, we discussed about this in the past and agreed that distutils
config files (in Python's site-packages and user's $HOME) should be
honored, but NOT a bare 'setup.cfg' in the current working
directory... Well, here you have... What do you think?

diff -r 71980dd690eb pyximport/pyxbuild.py
--- a/pyximport/pyxbuild.py     Tue Sep 22 02:13:13 2009 -0700
+++ b/pyximport/pyxbuild.py     Thu Sep 24 10:57:17 2009 -0300
@@ -55,6 +55,11 @@
     build = dist.get_command_obj('build')
     build.build_base = pyxbuild_dir

+    config_files = dist.find_config_files()
+    try: config_files.remove('setup.cfg')
+    except ValueError: pass
+    dist.parse_config_files(config_files)
+
     try:
         ok = dist.parse_command_line()
     except DistutilsArgError:


On Thu, Sep 24, 2009 at 5:06 AM, Robert Bradshaw
<[email protected]> wrote:
> On Sep 24, 2009, at 12:47 AM, Dag Sverre Seljebotn wrote:
>
>> Robert Bradshaw wrote:
>>> On Sep 22, 2009, at 2:19 AM, Robert Bradshaw wrote:
>>>
>>>
>>>> Based on http://hg.cython.org/cython-devel/shortlog/71980dd690eb
>>>>
>>>> http://cython.org/Cython-0.11.3.beta0.tar.gz
>>>>
>>>
>>> Baring any critical flaws, I plan to release this beta as 0.11.3 by
>>> the end of the week.
>>>
>>>
>> I was hoping to push a small patch fixing a buffer bug today/tonight.
>> I'd really like it in, but I think it should be very safe (and
>> definitely only affects buffers). It's not a regression though... Hope
>> that's OK?
>
> Sure, no problem. I'll cut an rc tomorrow with your stuff, and then
> actually release Friday or Saturday so anyone who cares (but not
> enough to pull from -devel) can try it out.
>
> - Robert
>
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
>



-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to