-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Original ticket http://projects.scipy.org/numpy/ticket/1749 on 2011-02-24 by trac user don.fanucci, assigned to atmention:cournape.
Hi!
It seems that from python 3.2 and on, distutils.sysconfig.get_config_vars('SO') behaves differently than for python < 3.2.
Before PEP3149 it returned '.so' (or, I guess, '.dll' under windows), while with version 3.2 of python, you'll get '.cpython-32m.so'.
Since numpy is using get_config_vars('SO') to determine library filename extensions, numpy with python3.2 fails to properly find external libraries (i.e. liblapack.so, or libmkl_blabla.so, etc).
As a workaround for this problem, I made some changes to the numpy distutils stuff (see attached patch). The patch seems to work* both on 1.5.1 and latest git HEAD.
*) at least in a "works for me" kind of way. :)