On Fri, May 9, 2008 at 10:15 PM, SamDonaldson <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have the following problem that I'm not understanding. I created my
> package under some path some time ago and then svn checked in all the
> files. Now, I create a new branch, and check that branch out (under a
> different path of course), and when I try to load my package, I get
> some errors. The problem is the following:
>
> import pkg_resources
>
> pkg_resources.require('pylons')
> DEV_CONFIG_PATH = pkg_resources.resource_filename("<name>", "")
>
> I find that the DEV_CONFIG_PATH points to the old path under which the
> package was created. So it ends up pointing to my old source code.
>
> How do I fix the pkg_resources pylons dist?
You probably have to reinstall the app to fix up the egg-info stuff.
--
Mike Orr <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---