[issue26955] Implement equivalent to `pip.locations.distutils_scheme` in distutils

2016-06-08 Thread Sylvain Corlay
Sylvain Corlay added the comment: 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 `install_headers` command does not install headers in a subdirectory of `sysconfig.get_path('include')`. On the

[issue26955] Implement equivalent to `pip.locations.distutils_scheme` in distutils

2016-06-08 Thread Tim Smith
Tim Smith added the comment: 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. -- nosy: +tdsmith ___ Python tracker

[issue26955] Implement equivalent to `pip.locations.distutils_scheme` in distutils

2016-05-23 Thread Ned Deily
Ned Deily added the comment: 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

[issue26955] Implement equivalent to `pip.locations.distutils_scheme` in distutils

2016-05-22 Thread Sylvain Corlay
Sylvain Corlay added the comment: Ned, that is because these packages (lxml, cffi) have header files as `package_data`, instead of `headers`. This is why they are being copied into site-packages. People willing to include them must either rely on knowledge of their location, or a python

[issue26955] Implement equivalent to `pip.locations.distutils_scheme` in distutils

2016-05-21 Thread Ned Deily
Ned Deily added the comment: "When installing a python package that has `headers`, these headers are usually installed under the main python include directory". Can you give some specific examples of packages and platforms where that is the case? Just taking a quick look at some packages I

[issue26955] Implement equivalent to `pip.locations.distutils_scheme` in distutils

2016-05-04 Thread SilentGhost
Changes by SilentGhost : -- components: +Distutils nosy: +dstufft, eric.araujo ___ Python tracker ___

[issue26955] Implement equivalent to `pip.locations.distutils_scheme` in distutils

2016-05-04 Thread Sylvain Corlay
New submission from Sylvain Corlay: When installing a python package that has `headers`, these headers are usually installed under the main python include directory, which can be retrieved with `sysconfig.get_path('include')` or directly referred to as 'include' when setting the include