summaryrefslogtreecommitdiff
path: root/docs/quick_tour.rst
diff options
context:
space:
mode:
authorPaul Everitt <paul@agendaless.com>2013-09-28 12:14:13 -0400
committerPaul Everitt <paul@agendaless.com>2013-09-28 12:14:13 -0400
commitebca905c2a2e1e796f3840baaf154a6d9d695cc4 (patch)
treec2dd4461f3c7bf302ff01514ca67ef3a50b4ee2a /docs/quick_tour.rst
parent0e142c07da354d858e455c576a625c48559c3353 (diff)
downloadpyramid-ebca905c2a2e1e796f3840baaf154a6d9d695cc4.tar.gz
pyramid-ebca905c2a2e1e796f3840baaf154a6d9d695cc4.tar.bz2
pyramid-ebca905c2a2e1e796f3840baaf154a6d9d695cc4.zip
Used a parsed-literal to pin the version number on easy_install.
Diffstat (limited to 'docs/quick_tour.rst')
-rw-r--r--docs/quick_tour.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/quick_tour.rst b/docs/quick_tour.rst
index 1ac5181f3..98584e608 100644
--- a/docs/quick_tour.rst
+++ b/docs/quick_tour.rst
@@ -22,21 +22,21 @@ and `setuptools <https://pypi.python.org/pypi/setuptools/>`_.
As an example, for Python 3.3+ on Linux:
-.. code-block:: bash
+.. parsed-literal::
$ pyvenv env33
$ wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | env33/bin/python
- $ env33/bin/easy_install pyramid
+ $ env33/bin/easy_install "pyramid==\ |release|\ "
For Windows:
-.. code-block:: posh
+.. parsed-literal::
# Use your browser to download:
# https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
- c:\> c:\Python33\python -m venv env33
- c:\> env33\Scripts\python ez_setup.py
- c:\> env33\Scripts\easy_install pyramid
+ c:\\> c:\\Python33\\python -m venv env33
+ c:\\> env33\\Scripts\\python ez_setup.py
+ c:\\> env33\\Scripts\\easy_install "pyramid==\ |release|\ "
Of course Pyramid runs fine on Python 2.6+, as do the examples in this
*Quick Tour*. We're just showing Python 3 a little love (Pyramid had
@@ -297,7 +297,7 @@ The only change in our view...point the renderer at the ``.jinja2`` file:
Our Jinja2 template is very similar to our previous template:
.. literalinclude:: quick_tour/jinja2/hello_world.jinja2
- :language: jinja
+ :language: html
Pyramid's templating add-ons register a new kind of renderer into your
application. The renderer registration maps to different kinds of