> 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
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig