Skip to content

Commit be95db2

Browse files
committed
bootstrap: readd missing buildlib
1 parent 7c85bd2 commit be95db2

33 files changed

+13060
-0
lines changed

bootstrap/legacy/buildlib/argparse.py

Lines changed: 2354 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
Metadata-Version: 1.0
2+
Name: Jinja2
3+
Version: 2.4.1
4+
Summary: A small but fast and easy to use stand-alone template engine written in pure python.
5+
Home-page: http://jinja.pocoo.org/
6+
Author: Armin Ronacher
7+
Author-email: armin.ronacher@active-4.com
8+
License: BSD
9+
Description:
10+
Jinja2
11+
~~~~~~
12+
13+
Jinja2 is a template engine written in pure Python. It provides a
14+
`Django`_ inspired non-XML syntax but supports inline expressions and
15+
an optional `sandboxed`_ environment.
16+
17+
Nutshell
18+
--------
19+
20+
Here a small example of a Jinja template::
21+
22+
{% extends 'base.html' %}
23+
{% block title %}Memberlist{% endblock %}
24+
{% block content %}
25+
<ul>
26+
{% for user in users %}
27+
<li><a href="{{ user.url }}">{{ user.username }}</a></li>
28+
{% endfor %}
29+
</ul>
30+
{% endblock %}
31+
32+
Philosophy
33+
----------
34+
35+
Application logic is for the controller but don't try to make the life
36+
for the template designer too hard by giving him too few functionality.
37+
38+
For more informations visit the new `Jinja2 webpage`_ and `documentation`_.
39+
40+
The `Jinja2 tip`_ is installable via `easy_install` with ``easy_install
41+
Jinja2==dev``.
42+
43+
.. _sandboxed: http://en.wikipedia.org/wiki/Sandbox_(computer_security)
44+
.. _Django: http://www.djangoproject.com/
45+
.. _Jinja2 webpage: http://jinja.pocoo.org/
46+
.. _documentation: http://jinja.pocoo.org/2/documentation/
47+
.. _Jinja2 tip: http://dev.pocoo.org/hg/jinja2-main/archive/tip.tar.gz#egg=Jinja2-dev
48+
49+
Platform: UNKNOWN
50+
Classifier: Development Status :: 5 - Production/Stable
51+
Classifier: Environment :: Web Environment
52+
Classifier: Intended Audience :: Developers
53+
Classifier: License :: OSI Approved :: BSD License
54+
Classifier: Operating System :: OS Independent
55+
Classifier: Programming Language :: Python
56+
Classifier: Programming Language :: Python :: 3
57+
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
58+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
59+
Classifier: Topic :: Text Processing :: Markup :: HTML
Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
AUTHORS
2+
CHANGES
3+
LICENSE
4+
MANIFEST.in
5+
Makefile
6+
setup.cfg
7+
setup.py
8+
Jinja2.egg-info/PKG-INFO
9+
Jinja2.egg-info/SOURCES.txt
10+
Jinja2.egg-info/dependency_links.txt
11+
Jinja2.egg-info/entry_points.txt
12+
Jinja2.egg-info/not-zip-safe
13+
Jinja2.egg-info/requires.txt
14+
Jinja2.egg-info/top_level.txt
15+
artwork/jinjalogo.svg
16+
custom_fixers/__init__.py
17+
custom_fixers/fix_alt_unicode.py
18+
custom_fixers/fix_broken_reraising.py
19+
custom_fixers/fix_xrange2.py
20+
docs/Makefile
21+
docs/api.rst
22+
docs/cache_extension.py
23+
docs/changelog.rst
24+
docs/conf.py
25+
docs/extensions.rst
26+
docs/faq.rst
27+
docs/index.rst
28+
docs/integration.rst
29+
docs/intro.rst
30+
docs/jinjaext.py
31+
docs/jinjaext.pyc
32+
docs/sandbox.rst
33+
docs/switching.rst
34+
docs/templates.rst
35+
docs/tricks.rst
36+
docs/_build/.ignore
37+
docs/_build/html/.buildinfo
38+
docs/_build/html/api.html
39+
docs/_build/html/changelog.html
40+
docs/_build/html/extensions.html
41+
docs/_build/html/faq.html
42+
docs/_build/html/genindex.html
43+
docs/_build/html/index.html
44+
docs/_build/html/integration.html
45+
docs/_build/html/intro.html
46+
docs/_build/html/objects.inv
47+
docs/_build/html/sandbox.html
48+
docs/_build/html/search.html
49+
docs/_build/html/searchindex.js
50+
docs/_build/html/switching.html
51+
docs/_build/html/templates.html
52+
docs/_build/html/tricks.html
53+
docs/_build/html/_sources/api.txt
54+
docs/_build/html/_sources/changelog.txt
55+
docs/_build/html/_sources/extensions.txt
56+
docs/_build/html/_sources/faq.txt
57+
docs/_build/html/_sources/index.txt
58+
docs/_build/html/_sources/integration.txt
59+
docs/_build/html/_sources/intro.txt
60+
docs/_build/html/_sources/sandbox.txt
61+
docs/_build/html/_sources/switching.txt
62+
docs/_build/html/_sources/templates.txt
63+
docs/_build/html/_sources/tricks.txt
64+
docs/_build/html/_static/basic.css
65+
docs/_build/html/_static/darkmetal.png
66+
docs/_build/html/_static/default.css
67+
docs/_build/html/_static/doctools.js
68+
docs/_build/html/_static/file.png
69+
docs/_build/html/_static/headerbg.png
70+
docs/_build/html/_static/implementation.png
71+
docs/_build/html/_static/jinja.js
72+
docs/_build/html/_static/jinjabanner.png
73+
docs/_build/html/_static/jquery.js
74+
docs/_build/html/_static/metal.png
75+
docs/_build/html/_static/minus.png
76+
docs/_build/html/_static/navigation.png
77+
docs/_build/html/_static/note.png
78+
docs/_build/html/_static/plus.png
79+
docs/_build/html/_static/print.css
80+
docs/_build/html/_static/pygments.css
81+
docs/_build/html/_static/searchtools.js
82+
docs/_build/html/_static/style.css
83+
docs/_build/html/_static/underscore.js
84+
docs/_build/html/_static/watermark.png
85+
docs/_build/html/_static/watermark_blur.png
86+
docs/_static/.ignore
87+
docs/_static/darkmetal.png
88+
docs/_static/headerbg.png
89+
docs/_static/implementation.png
90+
docs/_static/jinja.js
91+
docs/_static/jinjabanner.png
92+
docs/_static/metal.png
93+
docs/_static/navigation.png
94+
docs/_static/note.png
95+
docs/_static/print.css
96+
docs/_static/style.css
97+
docs/_static/watermark.png
98+
docs/_static/watermark_blur.png
99+
docs/_templates/.ignore
100+
docs/_templates/genindex.html
101+
docs/_templates/layout.html
102+
docs/_templates/opensearch.xml
103+
docs/_templates/page.html
104+
docs/_templates/search.html
105+
examples/bench.py
106+
examples/profile.py
107+
examples/basic/cycle.py
108+
examples/basic/debugger.py
109+
examples/basic/inheritance.py
110+
examples/basic/test.py
111+
examples/basic/test_filter_and_linestatements.py
112+
examples/basic/test_loop_filter.py
113+
examples/basic/translate.py
114+
examples/basic/templates/broken.html
115+
examples/basic/templates/subbroken.html
116+
examples/rwbench/djangoext.py
117+
examples/rwbench/rwbench.py
118+
examples/rwbench/django/_form.html
119+
examples/rwbench/django/_input_field.html
120+
examples/rwbench/django/_textarea.html
121+
examples/rwbench/django/index.html
122+
examples/rwbench/django/layout.html
123+
examples/rwbench/genshi/helpers.html
124+
examples/rwbench/genshi/index.html
125+
examples/rwbench/genshi/layout.html
126+
examples/rwbench/jinja/helpers.html
127+
examples/rwbench/jinja/index.html
128+
examples/rwbench/jinja/layout.html
129+
examples/rwbench/mako/helpers.html
130+
examples/rwbench/mako/index.html
131+
examples/rwbench/mako/layout.html
132+
ext/JinjaTemplates.tmbundle.tar.gz
133+
ext/djangojinja2.py
134+
ext/inlinegettext.py
135+
ext/jinja.el
136+
ext/Vim/htmljinja.vim
137+
ext/Vim/jinja.vim
138+
ext/django2jinja/django2jinja.py
139+
ext/django2jinja/example.py
140+
ext/django2jinja/templates/index.html
141+
ext/django2jinja/templates/layout.html
142+
ext/django2jinja/templates/subtemplate.html
143+
jinja2/__init__.py
144+
jinja2/_speedups.c
145+
jinja2/_stringdefs.py
146+
jinja2/bccache.py
147+
jinja2/compiler.py
148+
jinja2/constants.py
149+
jinja2/debug.py
150+
jinja2/defaults.py
151+
jinja2/environment.py
152+
jinja2/exceptions.py
153+
jinja2/ext.py
154+
jinja2/filters.py
155+
jinja2/lexer.py
156+
jinja2/loaders.py
157+
jinja2/meta.py
158+
jinja2/nodes.py
159+
jinja2/optimizer.py
160+
jinja2/parser.py
161+
jinja2/runtime.py
162+
jinja2/sandbox.py
163+
jinja2/tests.py
164+
jinja2/utils.py
165+
jinja2/visitor.py
166+
jinja2/testsuite/__init__.py
167+
jinja2/testsuite/api.py
168+
jinja2/testsuite/core_tags.py
169+
jinja2/testsuite/debug.py
170+
jinja2/testsuite/doctests.py
171+
jinja2/testsuite/ext.py
172+
jinja2/testsuite/filters.py
173+
jinja2/testsuite/imports.py
174+
jinja2/testsuite/inheritance.py
175+
jinja2/testsuite/lexnparse.py
176+
jinja2/testsuite/loader.py
177+
jinja2/testsuite/regression.py
178+
jinja2/testsuite/security.py
179+
jinja2/testsuite/tests.py
180+
jinja2/testsuite/utils.py
181+
jinja2/testsuite/res/__init__.py
182+
jinja2/testsuite/res/__init__.pyc
183+
jinja2/testsuite/res/templates/broken.html
184+
jinja2/testsuite/res/templates/syntaxerror.html
185+
jinja2/testsuite/res/templates/test.html
186+
jinja2/testsuite/res/templates/foo/test.html
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
[babel.extractors]
3+
jinja2 = jinja2.ext:babel_extract[i18n]
4+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
3+
[i18n]
4+
Babel>=0.8
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
jinja2
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# -*- coding: utf-8 -*-
2+
"""
3+
jinja2
4+
~~~~~~
5+
6+
Jinja2 is a template engine written in pure Python. It provides a
7+
Django inspired non-XML syntax but supports inline expressions and
8+
an optional sandboxed environment.
9+
10+
Nutshell
11+
--------
12+
13+
Here a small example of a Jinja2 template::
14+
15+
{% extends 'base.html' %}
16+
{% block title %}Memberlist{% endblock %}
17+
{% block content %}
18+
<ul>
19+
{% for user in users %}
20+
<li><a href="{{ user.url }}">{{ user.username }}</a></li>
21+
{% endfor %}
22+
</ul>
23+
{% endblock %}
24+
25+
26+
:copyright: (c) 2010 by the Jinja Team.
27+
:license: BSD, see LICENSE for more details.
28+
"""
29+
__docformat__ = 'restructuredtext en'
30+
try:
31+
__version__ = __import__('pkg_resources') \
32+
.get_distribution('Jinja2').version
33+
except:
34+
__version__ = 'unknown'
35+
36+
# high level interface
37+
from jinja2.environment import Environment, Template
38+
39+
# loaders
40+
from jinja2.loaders import BaseLoader, FileSystemLoader, PackageLoader, \
41+
DictLoader, FunctionLoader, PrefixLoader, ChoiceLoader, \
42+
ModuleLoader
43+
44+
# bytecode caches
45+
from jinja2.bccache import BytecodeCache, FileSystemBytecodeCache, \
46+
MemcachedBytecodeCache
47+
48+
# undefined types
49+
from jinja2.runtime import Undefined, DebugUndefined, StrictUndefined
50+
51+
# exceptions
52+
from jinja2.exceptions import TemplateError, UndefinedError, \
53+
TemplateNotFound, TemplatesNotFound, TemplateSyntaxError, \
54+
TemplateAssertionError
55+
56+
# decorators and public utilities
57+
from jinja2.filters import environmentfilter, contextfilter, \
58+
evalcontextfilter
59+
from jinja2.utils import Markup, escape, clear_caches, \
60+
environmentfunction, evalcontextfunction, contextfunction, \
61+
is_undefined
62+
63+
__all__ = [
64+
'Environment', 'Template', 'BaseLoader', 'FileSystemLoader',
65+
'PackageLoader', 'DictLoader', 'FunctionLoader', 'PrefixLoader',
66+
'ChoiceLoader', 'BytecodeCache', 'FileSystemBytecodeCache',
67+
'MemcachedBytecodeCache', 'Undefined', 'DebugUndefined',
68+
'StrictUndefined', 'TemplateError', 'UndefinedError', 'TemplateNotFound',
69+
'TemplatesNotFound', 'TemplateSyntaxError', 'TemplateAssertionError',
70+
'ModuleLoader', 'environmentfilter', 'contextfilter', 'Markup', 'escape',
71+
'environmentfunction', 'contextfunction', 'clear_caches', 'is_undefined',
72+
'evalcontextfilter', 'evalcontextfunction'
73+
]

0 commit comments

Comments
 (0)