Comment 1 for bug 409269

Revision history for this message
Gael Varoquaux (gael-varoquaux) wrote : Re: [Bug 409269] [NEW] setup fails on mingw32

On Wed, Aug 05, 2009 at 11:24:50AM -0000, Alexis Roche wrote:

> Traceback (most recent call last):
> File "setup.py", line 107, in <module>
> main(**extra_setuptools_args)
> File "setup.py", line 103, in main
> **extra_args)
> File "c:\Python25\Lib\site-packages\numpy\distutils\core.py", line 152, in setup
> config = configuration()
> File "setup.py", line 22, in configuration
> config.add_subpackage('nipy', 'nipy')
> File "c:\Python25\Lib\site-packages\numpy\distutils\misc_util.py", line 890, in add_subpackage
> caller_level = 2)
> File "c:\Python25\Lib\site-packages\numpy\distutils\misc_util.py", line 859, in get_subpackage
> caller_level = caller_level + 1)
> File "c:\Python25\Lib\site-packages\numpy\distutils\misc_util.py", line 796, in _get_configuration_from_setup_py
> config = setup_module.configuration(*args)
> File "nipy\setup.py", line 61, in configuration
> nipy_info().set_info(**get_nipy_info())
> File "c:\Python25\Lib\site-packages\numpy\distutils\system_info.py", line 433, in set_info
> dict_append(info,**lib_info)
> File "c:\Python25\Lib\site-packages\numpy\distutils\system_info.py", line 1945, in dict_append
> d[k].extend(v)
> AttributeError: 'str' object has no attribute 'extend'

Interesting, I cannot reproduce. You are talking about the neurospin
branch, right?

Could you run 'python -m pdb setup.py config' to introspect (enter
'continue' at the first promp) and print the value of d, k and v when
this fails.

Cheers,

Gaël