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
python-config code should be in sysconfig #55811
Comments
python-config has the following non-trivial code for discovery of cflags/ldflags, which should be callable as a sysconfig API instead:
Also, it begs the question why distutils doesn't use the same code in its compiler class, or even in customize_compiler()... |
+1 |
+1 on the request. I don’t think it can go in 3.2, though. I’ll propose a patch, this will let me learn more about the flags.
Certainly because distutils pre-dates python-config. In packaging, we should certainly use sysconfig functions. |
@eric.araujo curious if you still have the interest to work on this. If not, I can help open a PR. |
I don’t have specific expertise in this, so please take it! |
I can help out, but would like to wait until we get a resolution in python/issues-test-cpython#25718 as it will likely conflict. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: