Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sysconfig: use get_makefile_filename() from stdlib sysconfig #92

Merged
merged 1 commit into from
Dec 29, 2021

Commits on Dec 27, 2021

  1. sysconfig: use get_makefile_filename() from stdlib sysconfig

    Instead of guessing the filename just refer to the stdlib.
    
    This also removes the "_makefile_tmpl" hook added in pypa#16, but
    
    1) It was never implemented by the distro requesting it from what I can see:
       https://github.com/NetBSD/pkgsrc/blob/586097714897b1b4d4a9/devel/py-setuptools/Makefile#L28
    2) The stdlib version should return a proper result as it is patched by the distro requesting the change:
       https://github.com/NetBSD/pkgsrc/blob/6efa5763ec447864a7d4/lang/python38/patches/patch-Lib_sysconfig.py
    
    Also adds a small test checking that the file exists on Unix platforms
    lazka committed Dec 27, 2021
    Configuration menu
    Copy the full SHA
    62ed952 View commit details
    Browse the repository at this point in the history