[Catalog-sig] How to determine if archive is an sdist or bdist

PJ Eby pje at telecommunity.com
Mon Apr 1 06:59:55 CEST 2013


On Sun, Mar 31, 2013 at 6:13 PM, James Carpenter <nawkboy at gmail.com> wrote:
> Do you have a module/function/line number in easy_install I should use? I'm
> sure I can dig it out myself but it sounds like you might just be able to
> put your finger on it in only a minute or two.

It's the install_eggs() method of
setuptools.commands.easy_install.easy_install.  You won't really be
able to use it, it just looks for a setup.py after *unpacking* the
archive.  It also doesn't look for a PKG-INFO; PyPI does that.  (And I
only know that because it was relevant to the uploadability of eggs at
one time.)


More information about the Catalog-SIG mailing list