[Numpy-discussion] unit tests / developing numpy

Pauli Virtanen pav@iki...
Fri Aug 2 12:58:44 CDT 2013


29.07.2013 10:43, Graeme B. Bell kirjoitti:
> $ ls build/testenv/
> bin  lib64
>>>> import os
>>>> from distutils.sysconfig import get_python_lib
>>>> get_python_lib(prefix=os.path.abspath('build/testenv'))
> '/ssd-space/home/X/github/numpy/build/testenv/lib/python2.7/site-packages'
> I'm running this in a fresh python client in the directory 'github/numpy'.

Thanks, the issue seems to be due to some patch Fedora applied to its 
Python version. The fix seems to be to change on line 234 in runtests.py 
the line

      site_dir = get_python_lib(prefix=dst_dir)


      site_dir = get_python_lib(prefix=dst_dir, plat_specific=True)

Pauli Virtanen

More information about the NumPy-Discussion mailing list