On Mon, Feb 8, 2010 at 8:43 PM, Graham Dumpleton <[email protected] > wrote:
> python > >>> import paste > >>> print paste.__file__ > > That will give you location. > It gets more complicated; since paste is a namespace package then paste.__path__ may contain other paths that will be searched, e.g., site-packages/Paste-X.Y.egg/paste and site-packages/PasteDeploy-X.Y.egg/paste -- or, if it's not working, maybe those values won't be right. Though of course it should work properly, you might try pip which installs namespace packages flat, and might at least avoid the problem you are having. Also if you aren't using site.addsitedir, you might not get the path setup properly; there's a .pth file which I believe makes sure easy_install'd namespace packages work. -- Ian Bicking | http://blog.ianbicking.org | http://twitter.com/ianbicking -- You received this message because you are subscribed to the Google Groups "modwsgi" 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/modwsgi?hl=en.
