[Distutils] Why I like eggs (or similar mechanisms) and my thoughts on future of buildout

Donald Stufft donald at stufft.io
Sun Aug 21 12:29:05 EDT 2016


> On Aug 21, 2016, at 12:19 PM, Jim Fulton <jim at jimfulton.info> wrote:
> 
> I'm open to shelling out, but pessimistic that it will turn out well. I started with that approach initially with easy_install and it fell apart quickly.  But when we get into it... who knows?


Shelling out is currently the only exposed “API” that pip has, we’re not opposed to adding extra APIs though. Our current approach has been to wait and see for people to come out with specific use cases they have for an API and then work together to figure out what API we can create that satisfies that. Thus far we’ve accomplished this by creating new libraries that aren’t pip and moving functionality out of pip (and setuptools) and into those libraries, and then making pip/setuptools consume those. This has generally worked pretty well I think, as it’s easier to be careful not to accidentally expose some terrible internal details of pip as public API when it’s a new, carefully designed thing, and we can make working with those libraries better than it is to simply expose some part of pip. We generally pair this along with defining things in PEPs so that these new libraries don’t become the new distutils/setuptools/pip (e.g., implementation defined standards) which should ideally allow anyone to create a from scratch implementation and have it interopt just fine.

—
Donald Stufft



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20160821/244b842e/attachment-0001.html>


More information about the Distutils-SIG mailing list