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

Phillip J. Eby pje at telecommunity.com
Thu Jul 7 16:01:21 CEST 2005


At 08:58 AM 7/7/2005 -0400, Kevin Dangoor wrote:
>On 7/6/05, Phillip J. Eby <pje at telecommunity.com> wrote:
> > 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.  :)
>
>I just gave the patch a try. I just wanted to confirm that it's
>behaving the same way for me that it did for you. Running the py.test
>script no longer has trouble finding py, because of your patch.
>However, it still doesn't run (due to other things that py.test is
>doing). Specifically:
>
>py.error.ENOENT: [No such file or directory]:
>/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/py-0.8.0_alpha1-py2.4.egg/py/test/defaultconftest.py
>
>Is that what you saw, or did py.test actually run for you?

Yes, it actually ran, and tried to test setuptools.  :)  So I gave it the 
--help option and it showed help.  That's all I did with it.  I was using 
Windows Python 2.3.



More information about the Distutils-SIG mailing list