[Numpy-discussion] Is this a bug in numpy.distutils ?

Dave dave.hirschfeld@gmail....
Tue Aug 4 05:23:55 CDT 2009


Dave <dave.hirschfeld <at> gmail.com> writes:

> 
> Work's for me.
> 
> -Dave
> 

Except now when trying to compile the latest scipy I get the following error:

C:\dev\src\scipy>svn up

Fetching external item into 'doc\sphinxext'
External at revision 7280.

At revision 5890.

C:\dev\src\scipy>python setup.py bdist_wininst

Traceback (most recent call last):
  File "setup.py", line 160, in <module>
    setup_package()
  File "setup.py", line 152, in setup_package
    configuration=configuration )
  File "C:\dev\bin\Python25\Lib\site-packages\numpy\distutils\core.py", 
  line 152, in setup
    config = configuration()
  File "setup.py", line 118, in configuration
    config.add_subpackage('scipy')
  File "C:\dev\bin\Python25\Lib\site-packages\numpy\distutils\misc_util.py", 
  line 890, in add_subpackage
    caller_level = 2)
  File "C:\dev\bin\Python25\Lib\site-packages\numpy\distutils\misc_util.py", 
  line 859, in get_subpackage
    caller_level = caller_level + 1)
  File "C:\dev\bin\Python25\Lib\site-packages\numpy\distutils\misc_util.py", 
  line 796, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "scipy\setup.py", line 20, in configuration
    config.add_subpackage('special')
  File "C:\dev\bin\Python25\Lib\site-packages\numpy\distutils\misc_util.py", 
  line 890, in add_subpackage
    caller_level = 2)
  File "C:\dev\bin\Python25\Lib\site-packages\numpy\distutils\misc_util.py", 
  line 859, in get_subpackage
    caller_level = caller_level + 1)
  File "C:\dev\bin\Python25\Lib\site-packages\numpy\distutils\misc_util.py", 
  line 796, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "scipy\special\setup.py", line 45, in configuration
    extra_info=get_info("npymath")
  File "C:\dev\bin\Python25\Lib\site-packages\numpy\distutils\misc_util.py", 
  line 1954, in get_info
    pkg_info = get_pkg_info(pkgname, dirs)
  File "C:\dev\bin\Python25\Lib\site-packages\numpy\distutils\misc_util.py", 
  line 1921, in get_pkg_info
    return read_config(pkgname, dirs)
  File "C:\dev\bin\Python25\Lib\site-packages\numpy\distutils
  \npy_pkg_config.py", line 235, in read_config
    v = _read_config_imp(pkg_to_filename(pkgname), dirs)
  File "C:\dev\bin\Python25\Lib\site-packages\numpy\distutils
  \npy_pkg_config.py", line 221, in _read_config_imp
    meta, vars, sections, reqs = _read_config(filenames)
  File "C:\dev\bin\Python25\Lib\site-packages\numpy\distutils
  \npy_pkg_config.py", line 205, in _read_config
    meta, vars, sections, reqs = parse_config(f, dirs)
  File "C:\dev\bin\Python25\Lib\site-packages\numpy\distutils
  \npy_pkg_config.py", line 177, in parse_config
    raise PkgNotFound("Could not find file(s) %s" % str(filenames))
numpy.distutils.npy_pkg_config.PkgNotFound: Could not find file(s) 
['C:\\dev\\bin\\Python25\\lib\\site-packages\\numpy\\core\\lib
\\npy-pkg-config\\npymath.ini']

In the numpy\core\lib directory there is no npy-pkg-config sub-directory, only a
single file - libnpymath.a

Is this expected - has scipy not yet caught up with the numpy changes or is this
a numpy issue?

-Dave




More information about the NumPy-Discussion mailing list