<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><span class=""><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Which brings us to a question that I'm meaning to ask for a while.</div><div><br></div><div>It looks like we're close to removing all mentions of setuptools in pip. When this happens, it looks like pressure is going to start to mount on setuptools to drop the ability to install packages and limit itself on being just a build tool.</div></div></div></div></div></blockquote></span></div></div></blockquote><div><br></div><div>Yes, please!</div><div><br></div><div>I argued  a while back for a setuptools-lite -- it would do all the things setuptools does that we think it _should_ do, and not do any of the others -- like it wouldn't easy-install anything EVER.</div><div><br></div><div>most likely it would be a fork of the setuptools code with a bunch of stuff disabled. Or maybe even a setting in setuptools itself:</div><div><br></div><div>import setuptools</div><div>setuptools.disable_legacy</div><div><br></div><div>from setuptools import setup, find_packages, ...</div><div><br></div><div>Why????</div><div><br></div><div>Folks rely on the various "features" of setuptools, some important ones like buildout. So it's going to be a long time before we can deprecate all that in setuptools itself.</div><div><br></div><div>But we're trying for a future with better separation of concerns -- building, installing, packaging, run-time management.</div><div><br></div><div>But as it stands now, people kind of HAVE to use setuptools to get desired build behaviour, but then their users an accidentally invoke features they don't want -- to teh point where pip goes in and monkey patches the darn thing.</div><div><br></div><div>IF there were a setuptools_lite, user could simply do:</div><div><br></div><div>import setuptools_lite as setuptools</div><div><br></div><div>and they'd instantly get an error if they were using depreciated features, and their end users would never accidently easy install stuff :-)</div><div><br></div><div>Anyway, this seem like a path forward, without having to wait for the future fabulous pluggable build system .....</div><div><br></div><div>-Chris</div></div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><br>Christopher Barker, Ph.D.<br>Oceanographer<br><br>Emergency Response Division<br>NOAA/NOS/OR&R            (206) 526-6959   voice<br>7600 Sand Point Way NE   (206) 526-6329   fax<br>Seattle, WA  98115       (206) 526-6317   main reception<br><br><a href="mailto:Chris.Barker@noaa.gov" target="_blank">Chris.Barker@noaa.gov</a></div>
</div></div>