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
Implement equivalent to pip.locations.distutils_scheme
in sysconfig
#71142
Comments
When installing a python package that has However, on some systems like OS X, headers for extension modules are not located in under the python include directory (/usr/local/Cellar/pythonX/X.Y.Z/Frameworks/Python.framework/Versions/X.Y/include/pythonX.Y) but in Is there a generic way to find the location where headers are installed in a python install? pip.locations implements |
"When installing a python package that has |
Ned, that is because these packages (lxml, cffi) have header files as Distutils provides a standard way of distributing headers. These are passed to the setup function via the |
Sylvain, OK. I suggest you bring the matter up on the distutils-sig mailing list (if you haven't already) because that's where discussions and decisions are made about features for Python packaging including distutils. Otherwise, the issue is likely to languish here. Good luck! |
As a Homebrew maintainer I'm happy to consider improving Homebrew's configuration if someone can point me to an extant package that uses this mechanism. |
We use it in the pybind11 project. I am not sure that homebrew does anything wrong. It is just that it is the only case I am aware of where the |
If added, this should be in sysconfig, not distutils. |
pip.locations.distutils_scheme
in distutilspip.locations.distutils_scheme
in sysconfig
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: