[Distutils] Bundling pkg_resources

cool-RR cool-rr at cool-rr.com
Mon Nov 30 17:41:42 CET 2009

On Mon, Nov 30, 2009 at 6:10 PM, Tarek Ziadé <ziade.tarek at gmail.com> wrote:

> On Mon, Nov 30, 2009 at 3:09 PM, Ram Rachum <cool-rr at cool-rr.com> wrote:
> > I've asked before about bundling Distribute. But now I ask, is it
> possible to
> > pull out the `pkg_resources` module from the Distribute folder and bundle
> only
> > that with my project?
> Technically, yes : it's a standalone module that depends only on the
> stdlib.

Great. So I can just yank out the `pkg_resources.py` file and it should

> What would be the use case for this ?  I don't think it's the best
> practice to bundle
> other projects modules like that in most cases.
Up to now I've been requiring my users to install Distribute, but one of
them expressed reluctance to install it, partly because of the shadowing of

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20091130/83202bf4/attachment.htm>

More information about the Distutils-SIG mailing list