Pushed to cython-devel http://hg.cython.org/cython-devel/rev/2ffa48b4073a
On Thu, Sep 24, 2009 at 5:24 PM, Robert Bradshaw <[email protected]> wrote: > On Sep 24, 2009, at 12:59 PM, Dag Sverre Seljebotn wrote: > >> Lisandro Dalcin wrote: >>> 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: >>> >>> >> >> +1 from me. > > Yep, sounds like a good idea to me to. Go ahead and push. > > - 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
