gracinet added a comment.
@yuja great, thanks. Didn't know about this suffix, apparently it can be obtained through the `sysconfig` module (thats what `$PYTHON-config` does) ~ $ python2 -c "import sysconfig; print(sysconfig.get_config_var('SO'))" .so ~ $ python3 -c "import sysconfig; print(sysconfig.get_config_var('SO'))" -c:1: DeprecationWarning: SO is deprecated, use EXT_SUFFIX .cpython-37m-x86_64-linux-gnu.so ~ $ python3 -c "import sysconfig; print(sysconfig.get_config_var('EXT_SUFFIX'))" .cpython-37m-x86_64-linux-gnu.so I suppose that's also the thing to use to build for Windows or other operating systems. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5446 To: gracinet, #hg-reviewers Cc: yuja, mjpieters, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel