Hi,
On 2/16/10 11:54 AM, Vinay Sajip wrote:
> #--------------------------------------------------------
> (scratch)vinay:~/projects/scratch$ cat babel.cfg
> [python: **.py]
>
> [jinja2: **/templates/**.html]
> encoding = utf-8
Try with just **.html for a moment. If that does not work, check if the
entrypoint is registered. Should yield something like this:
>>> from pkg_resources import iter_entry_points
>>> for ep in iter_entry_points('babel.extractors'):
... print ep
...
jinja2 = jinja2.ext:babel_extract [i18n]
mako = mako.ext.babelplugin:extract
genshi = genshi.filters.i18n:extract [i18n]
If it does not, reinstall Jinja, something went wrong on installation.
Probably you did not have setuptools installed or something.
Regards,
Armin
Regards,
Armin
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" 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/pocoo-libs?hl=en.