Phillip J. Eby wrote: > At 02:29 PM 3/6/2007 -0500, jason pellerin wrote: >> I've been meaning to ask about this same issue, specifically with >> respect to namespace packages, bdist_rpm and imp. I've had to patch >> the spec files for all namespace packages that we build as RPMs, since >> although the .pth file works when using import or __import__, imp >> doesn't seem to recognize it, and that breaks Paste's app loading. > > Then Paste's app loading is broken, and wouldn't work with an egg either, > if it's using "imp" and ignoring the package's __path__.
I'm not sure which part of Paste is in question, but the only importing that I can think of which it does is with pkg_resources or with __import__. -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
