summaryrefslogtreecommitdiff
path: root/docs/narr/install.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2013-01-12 01:19:38 -0500
committerChris McDonough <chrism@plope.com>2013-01-12 01:19:38 -0500
commit3ac960c7d1a77d89d84931c34dbed5ab57cdbe66 (patch)
tree59bb15ff08231e4986b9d0f66903a894d60f11b5 /docs/narr/install.rst
parent99ca9e74cc119328987fc1cd0c377b8380beccdf (diff)
parent464ddc91ea47e3d6ba8fe30b8e9381cd395bb1d9 (diff)
downloadpyramid-3ac960c7d1a77d89d84931c34dbed5ab57cdbe66.tar.gz
pyramid-3ac960c7d1a77d89d84931c34dbed5ab57cdbe66.tar.bz2
pyramid-3ac960c7d1a77d89d84931c34dbed5ab57cdbe66.zip
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/narr/install.rst')
-rw-r--r--docs/narr/install.rst21
1 files changed, 5 insertions, 16 deletions
diff --git a/docs/narr/install.rst b/docs/narr/install.rst
index ff89553ae..a78c1b2bd 100644
--- a/docs/narr/install.rst
+++ b/docs/narr/install.rst
@@ -150,32 +150,21 @@ To set up a virtualenv in which to install :app:`Pyramid`, first ensure that
``import setuptools`` within the Python interpreter you'd like to run
:app:`Pyramid` under.
-Here's the output you'll expect if setuptools or distribute is already
-installed:
+The following command will not display anything if setuptools or distribute is
+already installed:
.. code-block:: text
- [chrism@thinko docs]$ python2.7
- Python 2.7.3 (default, Aug 1 2012, 05:14:39)
- [GCC 4.6.3] on linux2
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import setuptools
- >>>
+ $ python2.7 -c 'import setuptools'
-Here's the output you can expect if setuptools or distribute is not already
-installed:
+Running the same command will yield the following output if setuptools or
+distribute is not yet installed:
.. code-block:: text
- [chrism@thinko docs]$ python2.7
- Python 2.7.3 (default, Aug 1 2012, 05:14:39)
- [GCC 4.6.3] on linux2
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import setuptools
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named setuptools
- >>>
If ``import setuptools`` raises an :exc:`ImportError` as it does above, you
will need to install setuptools or distribute manually. Note that above