* Dav Clark <[EMAIL PROTECTED]> [2007-06-18 23:17:12 -0400]:

> First off, thanks for answering my e-mail so thoroughly!  I even had  
> a lightbulb moment with your "nevow/plugins is just a directory"  
> comment (though now I'm thinking "but why does it use an __init__.py  
> then?" - but I'm letting it go for now).  As for your questions, I  
> attempt to answer below.

The nevow/plugins directory in Nevow itself has an __init__.py, but
other "instances" of the directory don't.

> On Jun 18, 2007, at 12:00 PM, Jean-Paul Calderone wrote:
> 
> >setup.py is basically fully supported.  If you find bugs in it, we  
> >will do
> >our best to fix them.  easy_install isn't really supported at all;  
> >please
> >don't suggest it or anything related to setuptools.
> 
> Got it - I guess the failure to install javascripts really is a  
> "real" bug then... but I've reported it already.

I believe there are some outstanding issues / tickets regarding this,
and in fact one of them may be assigned to me; unfortunately I don't
have the distutils-fu to know what the problem is, and I haven't had a
chance to dig deeper into distutils to figure it out.

> --
> import nevow.athena
> jsd.getModuleForName('MyModule') # or whatever
> print jsd.mapping
> --
> 
> yeilds (among many other things):
> 
> { ......
> u'Divmod': '/Users/dav/Desktop/SecurMe/dev/Nevow/nevow/js/Divmod/ 
> __init__.js',
> u'Divmod..svn': '/Users/dav/Desktop/SecurMe/dev/Nevow/nevow/empty.js',
> u'Divmod..svn.prop-base': '/Users/dav/Desktop/SecurMe/dev/Nevow/nevow/ 
> empty.js'
> .....}
> 
> These "empty.js" files occur if and only if we're mapping to a .svn  
> directory.  So, I guess this is just a side-effect of my using a svn  
> checkout.  But it's still weird.  That emtpy.js file does exist -  
> it's empty.

The .svn directories shouldn't really be picked up; this issue will
probably be fixed on trunk in the very near future, however.

> The __init__.js entries refer to non-existent files.

The only __init__.js file in your example is
Nevow/nevow/js/Divmod/__init__.js, which most definitely should exist;
and in my svn checkout it does. If it doesn't exist on your end, then
there is a problem somewhere.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to