summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/definingviews.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-03-13 16:12:33 -0700
committerChris McDonough <chrism@plope.com>2012-03-13 16:12:33 -0700
commit3c48872ca9f08bf87d2bf5df9516861216210a49 (patch)
tree98f85109ce562c5e846e5c9bc863bcd35459369e /docs/tutorials/wiki2/definingviews.rst
parentf9f8c67e10c886119c7b2f06d329b04ee27d4144 (diff)
parentfbe74a8b69cf319a29efe144a77f3a42edf1d3d6 (diff)
downloadpyramid-3c48872ca9f08bf87d2bf5df9516861216210a49.tar.gz
pyramid-3c48872ca9f08bf87d2bf5df9516861216210a49.tar.bz2
pyramid-3c48872ca9f08bf87d2bf5df9516861216210a49.zip
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/tutorials/wiki2/definingviews.rst')
-rw-r--r--docs/tutorials/wiki2/definingviews.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/tutorials/wiki2/definingviews.rst b/docs/tutorials/wiki2/definingviews.rst
index 592b183a4..5f7526b24 100644
--- a/docs/tutorials/wiki2/definingviews.rst
+++ b/docs/tutorials/wiki2/definingviews.rst
@@ -28,15 +28,18 @@ dependency of the original "tutorial" application. The original "tutorial"
application was generated by the ``pcreate`` command; it doesn't know
about our custom application requirements. We need to add a dependency on
the ``docutils`` package to our ``tutorial`` package's ``setup.py`` file by
-assigning this dependency to the ``install_requires`` parameter in the
+assigning this dependency to the ``requires`` parameter in the
``setup`` function.
-Our resulting ``setup.py`` should look like so:
+Open ``tutorial/setup.py`` and edit it to look like the following:
.. literalinclude:: src/views/setup.py
:linenos:
+ :emphasize-lines: 17
:language: python
+(Only the highlighted line needs to be added)
+
Running ``setup.py develop``
============================