Lukasz Szybalski wrote: > On Thu, Aug 28, 2008 at 9:42 AM, Ian Bicking <[EMAIL PROTECTED]> wrote: >> I don't know if you've had luck with this, but sometimes problems like this >> relate to problems importing __init__. ImportErrors in __init__.py >> sometimes get swallowed, so they don't keep submodules from being >> importable. But this can cause confusion. Probably the problem isn't >> find_packages (if it is, you can look at what in your application is >> installed, to see if something is missing, or even print out what >> find_packages returns, as it's just a list of strings). > > I'm still looking into it. > I'll try to delete all __init__.py and pyc files see if that helps. > (Maybe I'll delete it and create an empty one)
Yes, you'll need empty files. > If I open python and inside python interpreter I do: > > from myapp.lib.event import * > it works. > But it won't work from withing the file. Well, you might try: import myapp print 'imported myapp:', myapp import myapp.lib print 'imported myapp.lib:', myapp.lib and so on, to figure it out. > How would I print what find_packages returns? > print find_packages()? in which file? In setup.py -- Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org _______________________________________________ Paste-users mailing list [email protected] http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users
