[Numpy-discussion] unit tests / developing numpy
Pauli Virtanen
pav at iki.fi
Fri Aug 2 13:58:44 EDT 2013
Hi,
29.07.2013 10:43, Graeme B. Bell kirjoitti:
[clip]
> $ ls build/testenv/
> bin lib64
>
[clip]
>>>> 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)
to
site_dir = get_python_lib(prefix=dst_dir, plat_specific=True)
--
Pauli Virtanen
More information about the NumPy-Discussion
mailing list