From 231f532746ceb64138448a722d97d2f49fa0030d Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 1 Jul 2011 02:17:53 -0400 Subject: run setup.py develop --- docs/tutorials/wiki2/tests.rst | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'docs/tutorials/wiki2/tests.rst') diff --git a/docs/tutorials/wiki2/tests.rst b/docs/tutorials/wiki2/tests.rst index 8acf0d761..c120b1c61 100644 --- a/docs/tutorials/wiki2/tests.rst +++ b/docs/tutorials/wiki2/tests.rst @@ -57,8 +57,25 @@ Change the ``requires`` list in ``setup.py`` to include ``WebTest``. :language: python :lines: 10-19 -After we've added a dependency on WebTest in ``setup.py``, assuming our -shell's current working directory is the "tutorial" distribution directory: +After we've added a dependency on WebTest in ``setup.py``, we need to rerun +``setup.py develop`` to get WebTest installed into our virtualenv. Assuming +our shell's current working directory is the "tutorial" distribution +directory: + +On UNIX: + +.. code-block:: text + + $ ../bin/python setup.py develop + +On Windows: + +.. code-block:: text + + c:\pyramidtut\tutorial> ..\Scripts\python setup.py develop + +Once that command has completed successfully, we can run the tests +themselves: On UNIX: -- cgit v1.2.3