On Aug 19, 2008, at 12:24 PM, Phredward wrote:

>
> I'm trying to run nosetests, and I keep getting package not found
> errors.  I tried just making the sample blog app from
> http://wiki.pylonshq.com/display/pylonscookbook/Making+a+Pylons+Blog
> and started following the instructions for testing it at
> http://wiki.pylonshq.com/display/pylonsdocs/Unit+Testing.
>
> When I run nosetests --with-pylons=test.ini I get an error that ends
> with:
>

>  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 524,
> in resolve
>    raise DistributionNotFound(req)  # XXX put more info here
> pkg_resources.DistributionNotFound: MyBlog


Is your project's egg-info directory still intact? If not, try running  
'python setup.py egg_info' before nosetests.

If that's the solution, we may need to make the with-pylons nose  
plugin run egg_info every time, or maybe only if it notices a  
DistributionNotFound exception.

--
Philip Jenvey



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to