I just tried building with Python on msys2. However, the setup of the latest python doesn't fit our detection code. I see this:
# /c/Python37/python -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars());' {'LIBDEST': 'C:\\Python37\\Lib', 'BINLIBDEST': 'C:\\Python37\\Lib', 'INCLUDEPY': 'C:\\Python37\\include', 'EXT_SUFFIX': '.cp37-win_amd64.pyd', 'EXE': '.exe', 'VERSION': '37', 'BINDIR': 'C:\\Python37', 'prefix': 'C:\\Python37', 'exec_prefix': 'C:\\Python37', 'SO': '.cp37-win_amd64.pyd', 'srcdir': 'C:\\Python37'} The python3.dll and python37.dll files are in c:\\python37, i.e. the BINDIR as one might expect on Windows. It would be nice to get this working. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services