<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, May 25, 2016 at 8:35 PM, Tim Smith <span dir="ltr"><<a href="mailto:tim@tim-smith.us" target="_blank">tim@tim-smith.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
</span>As a Homebrew maintainer this sounds like something that Homebrew<br>
could influence. Are there any packages in the wild that use this<br>
mechanism? It seems that headers are mostly installed beneath<br>
site-packages. I don't have strong feelings about whether Homebrew<br>
should have better support for install_headers or whether that would<br>
be straightforward to implement but IIRC we've had no prior reports of<br>
this causing trouble.<br>
<br>
Thanks,<br>
Tim</blockquote><div><br></div><div>Thanks Tim, </div><div><br></div><div>The OS X python install is the only one I know of where headers installed with the install_headers command are not placed in a subdirectory of `sys.config('include')`. Besides, `pip.locations.distutils_scheme` returns the right include directory even in the case of homebrew.</div><div><br></div><div>My point here was that this pip.locations function should probably be a feature of distutils itself. Although I would probably not have discovered the need for it if homebrew was placing extra headers in the same place as everyone else !</div><div><br></div><div>I don't think that using the package_data to place headers under site-package is the right thing to do in general. Then you need to rely on some python function to return the include directory...</div><div><br></div><div>Sylvain</div><div><br></div><div> </div></div></div></div>