Re: How to determine if archive is an sdist or bdist
PJ Eby <[email protected]> Mon, 1 Apr 2013 00:59:55 -0400
| Newsgroups | gmane.comp.python.catalog |
|---|---|
| Message-ID | <CALeMXf6WcQovCZYqNXUVxE6Ls1daeVD-CLR_78Tj1R-CADoHmQ@mail.gmail.com> |
On Sun, Mar 31, 2013 at 6:13 PM, James Carpenter <[email protected]> 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.)