Dear all,

               I built  an external c-module (pygsl) using mingw 64 from msys2 
mingw64-gcc compiler.

This  built required  some changes  to numpy.distutils to get the
“python config”
“python build”
working. In this process  I replaced  2 files in numpy.distutils  from numpy 
git repository:

- version ec0e046 
 on 14 Dec 2016

-          numpy.dist_utils. version ec0e046 
 on 14 Dec 2016 required to be modified to get it work

n  preprocessor  had to be defined  as I am using config

n  specifying the runtime library search path to the linker

n  include path  of the vcrtruntime

I attached a patch reflecting the changes  I had to make  to file
If this information is useful I am  happy to answer questions

Sincerely yours

PS  Version infos:
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit 
(AMD64)] on win32

>> help(numpy.version)
Help on module numpy.version in numpy:
    full_version = '1.12.0'
    git_revision = '561f1accf861ad8606ea2dd723d2be2b09a2dffa'
    release = True
    short_version = '1.12.0'
    version = '1.12.0'

gcc.exe (Rev2, Built by MSYS2 project) 6.2.0


Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Karl Eugen Huthmacher, stv. Vorsitzende Dr. 
Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Hahn-Meitner-Platz 1
D-14109 Berlin

Attachment: python_numpy_mingw_git.diff
Description: python_numpy_mingw_git.diff

NumPy-Discussion mailing list

Reply via email to