(codename Kong, released on September 12th 2009)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
--HG-- branch : trunk
authored by Armin Ronacher · committed by Armin Ronacher · parent efcc0e5 · Browse files · 4 files·+11 added−43 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
4 files+11 added−43 removed
- other:+11 added−43 removed
Provenance
- Commit
86b5cb5- Tree
b8e2330- Author
Armin Ronacher <armin.ronacher@active-4.com>- Committer
Armin Ronacher <armin.ronacher@active-4.com>- Parent
efcc0e5
4 files changed+11 added−43 removed
modified:docs/intro.rst+8 added-4 removed
37 unmodified lines38 should be installed.39 40 If you don't have a working C compiler and you are trying to install the source41 release you will get a compiler error. This however can be circumvented by42-passing the ``--without-speedups`` command line argument to the setup script.42+passing the ``--without-speedups`` command line argument to the setup script::43 44+ $ python setup.py install --without-speedups45+46 For more details about that have a look at the :ref:`disable-speedups`47 section below.48 49 .. _ctypes: http://python.net/crew/theller/ctypes/9 unmodified lines59 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~60 61 You can install the most recent Jinja2 version using `easy_install`_ or `pip`_::62 61- sudo easy_install Jinja262- sudo pip install Jinja263+ easy_install Jinja264+ pip install Jinja265 66 This will install a Jinja2 egg in your Python installation's site-packages67 directory.68 53 unmodified lines122 ``--without-speedups`` flag::123 124 sudo python setup.py install --without-speedups125 124-You can also pass this parameter to `easy_install` or `pip`.126+You can also pass this parameter to `pip`::127 128+ $ pip install --install-option='--without-speedups' Jinja2129 130+131 Basic API Usage132 ---------------133 134 This section gives you a brief introduction to the Python API for Jinja221 unmodified linesmodified:CHANGES+1 added-1 removed
1 unmodified line2 ================3 4 Version 2.25 -----------6-(codename unknown, release date yet unknown)6+(codename Kong, released on September 12th 2009)7 8 - Include statements can now be marked with ``ignore missing`` to skip9 non existing templates.10 - Priority of `not` raised. It's now possible to write `not foo in bar`104 unmodified linesmodified:setup.cfg-6 removed
2 unmodified lines3 tag_date = true4 5 [aliases]6 release = egg_info -RDb ''7-8-[nosetests]9-#verbosity=210-detailed-errors=111-cover-package=nose12-where=testsmodified:setup.py+2 added-32 removed
45 unmodified lines46 from distutils.command.build_ext import build_ext47 from distutils.errors import CCompilerError, DistutilsPlatformError48 49 50-#: don't change the variable and assignment. the fabfile parses this51-#: file to get the version for deployment from it.52-VERSION = '2.2'53-54-55-data_files = []56-documentation_path = 'docs/_build/html'57-if os.path.exists(documentation_path):58- documentation_files = []59- for fn in os.listdir(documentation_path):60- if not fn.startswith('.'):61- fn = os.path.join(documentation_path, fn)62- if os.path.isfile(fn):63- documentation_files.append(fn)64- data_files.append(('docs', documentation_files))65-66-67-def get_terminal_width():68- """Return the current terminal dimensions."""69- try:70- from struct import pack, unpack71- from fcntl import ioctl72- from termios import TIOCGWINSZ73- s = pack('HHHH', 0, 0, 0, 0)74- return unpack('HHHH', ioctl(sys.stdout.fileno(), TIOCGWINSZ, s))[1]75- except:76- return 8077-78-50 setup(51 name='Jinja2',81- version=VERSION,52+ version='2.2',53 url='http://jinja.pocoo.org/',54 license='BSD',55 author='Armin Ronacher',56 author_email='armin.ronacher@active-4.com',57 description='A small but fast and easy to use stand-alone template '58 'engine written in pure python.',59 long_description=__doc__,89- # jinja is egg safe. But because we distribute the documentation90- # in form of html and txt files it's a better idea to extract the files60+ # jinja is egg safe. But we hate eggs61 zip_safe=False,62 classifiers=[63 'Development Status :: 5 - Production/Stable',64 'Environment :: Web Environment',24 unmodified lines