the near future the best idea is to ship a Jinja 0.9 checkout together
with the application.
- The `Jinja trunk`_ is installable via `easy_install` with ``easy_install
+ The `Jinja tip`_ is installable via `easy_install` with ``easy_install
Jinja==dev``.
.. _sandboxed: http://en.wikipedia.org/wiki/Sandbox_(computer_security)
.. _Django: http://www.djangoproject.com/
.. _jinja webpage: http://jinja.pocoo.org/
.. _documentation: http://jinja.pocoo.org/documentation/index.html
- .. _Jinja trunk: http://trac.pocoo.org/repos/jinja/trunk#egg=Jinja-dev
+ .. _Jinja tip: http://dev.pocoo.org/hg/jinja-main/archive/tip.tar.gz#egg=Jinja-dev
:copyright: 2007 by Armin Ronacher.
"""
import codecs
-import sha
+try:
+ from hashlib import sha1
+except ImportError:
+ from sha import new as sha1
import time
from os import path
from threading import Lock
Return the filename for a cached file.
"""
return path.join(cachepath, 'jinja_%s.cache' %
- sha.new('jinja(%s|%s)tmpl' %
- (name, salt or '')).hexdigest())
+ sha1('jinja(%s|%s)tmpl' %
+ (name, salt or '')).hexdigest())
def _loader_missing(*args, **kwargs):
[egg_info]
tag_build = dev
-tag_svn_revision = true
+tag_date = true
[aliases]
release = egg_info -RDb ''