[Distutils] Something that doesn't run from an egg

Kevin Dangoor dangoor at gmail.com
Thu Jul 7 12:53:39 CEST 2005


On 7/6/05, Phillip J. Eby <pje at telecommunity.com> wrote:
> At 04:01 PM 7/6/2005 -0400, Kevin Dangoor wrote:
> >On 7/6/05, Phillip J. Eby <pje at telecommunity.com> wrote:
> > > Can you give me the download URL for the py source distro so I can try to
> > > reproduce this?
> >
> >Right now, it's only available from subversion:
> >
> >svn co http://codespeak.net/svn/py/dist py-dist
> 
> Note that you can just "easy_install http://codespeak.net/svn/py/dist" to
> install it directly from subversion, without needing a manual
> checkout.  (You *do* need a subversion client on your PATH, however.)

Neat. easy_install seems to have quite a few tricks up its sleeve.

> Here's a patch to setuptools that appears to fix the problem (by not
> running imported scripts as __main__), and it's probably a good idea to add
> it to setuptools in any case.  Meanwhile, however, somebody should probably
> tell the py folks that _findpy is a horrible, *horrible* hack and should be
> shot.  :)

Cool. I'll give this a whirl.

Kevin


More information about the Distutils-SIG mailing list