[PEAK] Re: PEAK tests don't run after easy_install

Phillip J. Eby pje at telecommunity.com
Thu Aug 11 12:41:03 EDT 2005


At 12:21 PM 8/11/2005 -0400, Erik Rose wrote:
>>IOError: [Errno 20] Not a directory: '/Users/whatever/UNIXRoot/usr/ 
>>local/python24/lib/python2.4/site-packages/RuleDispatch-0.5a0-py2.4- 
>>darwin-8.2.0-Power_Macintosh.egg/dispatch/combiners.txt'
>>
>>Any ideas?
>>
>>FWIW, /Users/whatever/UNIXRoot/usr/local/python24/lib/python2.4/ 
>>site-packages/RuleDispatch-0.5a0-py2.4-darwin-8.2.0- Power_Macintosh.egg 
>>is indeed a zip-formatted egg, not a directory.
>
>To answer my own question, decompressing the RuleDispatch egg makes
>all the tests pass. I guess the PEAK tests aren't calling in at the
>right level of abstraction somewhere.

I'm surprised that these are installing compressed; by default they 
shouldn't be.  The issue is that the 'doctest' module doesn't support 
loading tests from eggs, and I haven't gotten around to fixing it yet.  If 
you use the -Z or --always-unzip option to EasyInstall, it'll decompress 
the packages.




More information about the PEAK mailing list