8000 SOABI-problem with external libraries and python3.2 (Trac #1749) · Issue #5549 · thouis/numpy-trac-migration · GitHub
[go: up one dir, main page]

Skip to content
SOABI-problem with external libraries and python3.2 (Trac #1749) #5549
@numpy-gitbot

Description

@numpy-gitbot

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. :)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0