[Distutils] mebs, the meta-build system

Marcus Smith qwcode at gmail.com
Wed Feb 6 06:42:27 CET 2013


> What if pip did not depend on setuptools or distutils and the stdlib
> did not include distutils or any other build system? Instead, the
> installer can only install binary packages, and build systems do not
> install but only build binary packages.
>
> A very simple meta-build system "mebs" is used to recognize sdists and
> build binary packages. Build systems provide plugins having three
> methods,
>
> .recognize()
> .metadata()
> .build()
>
> An installer downloads an sdist. For each installed build plugin,
> .recognize(dir) is called. The first plugin to return True is used.
>
> The plugin's .metadata(dir) is called, returning Metadata 1.3+ format
> metadata in a simple email.parser.Parser() multi-dict interface. Used
> to fetch any build/install requirements.
>
> .build(dir) is called to create the binary package.
>
> The installer installs the binary package.
>
>
I didn't really catch this the first time around, but this is interesting.
btw, any other threads related to this?

Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130205/ecb5c706/attachment.html>


More information about the Distutils-SIG mailing list