[pypy-svn] rev 2584 - pypy/trunk/doc/devel

pmaupin at codespeak.net pmaupin at codespeak.net
Fri Dec 19 17:24:22 CET 2003


Author: pmaupin
Date: Fri Dec 19 17:24:21 2003
New Revision: 2584

Modified:
   pypy/trunk/doc/devel/howtopypy.txt
Log:
Formatting test change

Modified: pypy/trunk/doc/devel/howtopypy.txt
==============================================================================
--- pypy/trunk/doc/devel/howtopypy.txt	(original)
+++ pypy/trunk/doc/devel/howtopypy.txt	Fri Dec 19 17:24:21 2003
@@ -14,15 +14,14 @@
 
         svn co http://codespeak.net/svn/pypy/trunk/src
 
-   If desired, you can also download the documentation:
+   If desired, you can also download the documentation::
    
-        ``svn co http://codespeak.net/svn/pypy/trunk/doc``
+        svn co http://codespeak.net/svn/pypy/trunk/doc
    
-3. To start interpreting Python with PyPy:
+3. To start interpreting Python with PyPy::
 
-        ``cd src/pypy/interpreter``
-
-        ``python23 py.py -S``
+        cd src/pypy/interpreter
+        python23 py.py -S
 
    After a few seconds, you should be at the PyPy prompt, which is
    the same as the Python prompt, but with an extra ">".
@@ -34,54 +33,50 @@
 
 4. Now you are ready to start running Python code.  Some real Python
    modules will not run yet, and others will run too slowly to be
-   worth waiting for, but a few are fun to run:
+   worth waiting for, but a few are fun to run::
    
-        ``>>>> import pystone``
-
-        ``>>>> pystone.main(2)``
+        >>>> import pystone
+        >>>> pystone.main(2)
 
    Note that this is a slightly modified version of pystone -- the
    original version does not accept the parameter to main().  The
    parameter is the number of loops to run through the test, and the
    default is 50000, which is far too many to run this year.
 
-5. The PyPy interpreter command line options are listed by typing
+5. The PyPy interpreter command line options are listed by typing::
 
-        ``python23 py.py --help``
+        python23 py.py --help
 
-   As an example of using PyPy from the command line, you could type:
+   As an example of using PyPy from the command line, you could type::
 
-        ``python23 py.py -S -c "import pystone; pystone.main(2)``
+        python23 py.py -S -c "import pystone; pystone.main(2)
 
    Alternatively, as with regular Python, you can simply give a
-   script name on the command line:
+   script name on the command line::
 
-        ``python23 py.py -S ../appspace/pystone.py``
+        python23 py.py -S ../appspace/pystone.py
 
    (Note that this will run forever.)
 
 6. The PyPy project uses test-driven-development.  Right now, there are
    a couple of different categories of tests which can be run.
-   To run all the unit tests:
-
-        ``cd src/pypy``
+   To run all the unit tests::
 
-        ``python23 test_all.py -S``
+        cd src/pypy
+        python23 test_all.py -S
 
    Alternatively, subtests may be run by going to the correct subdirectory
-   and running them individually:
+   and running them individually::
 
-        ``cd src/pypy/module/test``
-
-        ``python23 test_builtin.py -S``
+        cd src/pypy/module/test
+        python23 test_builtin.py -S
 
    Finally, there are some more advanced tests (which are derived from
    some of the standard CPython tests).  These are not part of the unit
-   tests, because they take longer than the standard unit tests.
-
-        ``cd src/pypy/interpreter``
+   tests, because they take longer than the standard unit tests::
 
-        ``python23 py.py -S -c "import builtin_types_test"``
+        cd src/pypy/interpreter
+        python23 py.py -S -c "import builtin_types_test"
 
 7. To learn more about PyPy and its development process, read the documentation_,
    and consider subscribing to the `mailing lists`_ (or simply read the archives


More information about the Pypy-commit mailing list