<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 21, 2015 at 10:25 PM, Antoine Pitrou <span dir="ltr"><<a href="mailto:solipsis@pitrou.net" target="_blank">solipsis@pitrou.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 21 Oct 2015 21:41:35 +0100<br>
Paul Moore <<a href="mailto:p.f.moore@gmail.com">p.f.moore@gmail.com</a>> wrote:<br>
> On 21 October 2015 at 20:41, Chris Barker <<a href="mailto:chris.barker@noaa.gov">chris.barker@noaa.gov</a>> wrote:<br>
> > As I understand it, the current "API" that pip knows about is:<br>
> ><br>
> > "some subset of what setuptools provides"<br>
> ><br>
> > So my proposal is here is to provide a way for users to easily use jsut that<br>
> > subset.<br>
><br>
> <a href="https://pip.pypa.io/en/stable/reference/pip_install/#build-system-interface" rel="noreferrer" target="_blank">https://pip.pypa.io/en/stable/reference/pip_install/#build-system-interface</a><br>
><br>
> All you need to do is write a setup.py, which can do *anything you<br>
> like*,<br>
<br>
</span>Reading this, the CLI options which have to be implemented are<br>
completely tied to setuptools' own view of the world.<br>
`--single-version-externally-managed`? `--install-headers`? Why should<br>
a random build system care about that gunk? What should it do with it?<br></blockquote><div><br></div><div>I agree it is not ideal, but it is not *that* hard. Regarding `--single-version-externally-managed`, if you don't care about setuptools interoperability, I believe it is safe to just ignore the flag (or more exactly do like what distutils does, that is installed directly in site-packages, and make `--single-version-externally-managed` a no-op). install_headers, I am not sure how many projects depend on that. The only projects I know that install headers (numpy, etc...) are not using the setuptools mechanism.</div><div><br></div><div>If that's deemed useful, I could write a simple implementation that does not use distutils/setuptools but support that interface as an example (I have something similar enough times that I unfortunately know the ropes :) ).</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I think Nathaniel's PEP, for all its shortcomings, looked much saner<br>
than that piece of ad-hoc specification (a.k.a. "here's the random set<br>
of things we're currently doing, let's make a spec out of it"). This is<br>
like the Microsoft OOXML of Python packages distribution.<br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888"><br>
Antoine.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/distutils-sig</a><br>
</div></div></blockquote></div><br></div></div>