diff options
| author | Karl O. Pinc <kop@meme.com> | 2013-10-02 15:07:20 -0500 |
|---|---|---|
| committer | Karl O. Pinc <kop@meme.com> | 2013-10-02 15:07:20 -0500 |
| commit | 1a2b37baf2c37e060cbbc6fd37812dd5c8078b5b (patch) | |
| tree | d02e465bf1402b571071a1f29a1a5b39aa6ebad8 /docs/quick_tour.rst | |
| parent | 68d16988404aec339fde1df7822c783d3ea23af6 (diff) | |
| parent | 678f49d2e08b128785e32ed6fc9e12df4713ad7c (diff) | |
| download | pyramid-1a2b37baf2c37e060cbbc6fd37812dd5c8078b5b.tar.gz pyramid-1a2b37baf2c37e060cbbc6fd37812dd5c8078b5b.tar.bz2 pyramid-1a2b37baf2c37e060cbbc6fd37812dd5c8078b5b.zip | |
Merge remote-tracking branch 'upstream/master' into doc_render
Doing something to make the pull request have the right stuff.
Diffstat (limited to 'docs/quick_tour.rst')
| -rw-r--r-- | docs/quick_tour.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/quick_tour.rst b/docs/quick_tour.rst index 434dbdad5..98584e608 100644 --- a/docs/quick_tour.rst +++ b/docs/quick_tour.rst @@ -17,26 +17,26 @@ Pyramid is a breeze. Unfortunately "standard" is not so simple in Python. For this Quick Tour, it means: `Python <http://www.python.org/download/releases/>`_, a `virtual environment <http://docs.python.org/dev/library/venv.html>`_ -(or `virtualenv for Python 2.7 <https://pypi.python.org/pypi/virtualenv>`_, +(or `virtualenv for Python 2.7 <https://pypi.python.org/pypi/virtualenv>`_), 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 |
