# HG changeset patch # User Brian Neal # Date 1374435012 18000 # Node ID 753974fc7619936f42fb0611d54d30f8115d6ae0 # Parent 2173ac4c2d9be0db3595ac5e57832b8bff56250e Minor tweaks to install instructions. Added a note on how to run the tests. diff -r 2173ac4c2d9b -r 753974fc7619 docs/index.rst --- a/docs/index.rst Sun Jul 21 14:07:20 2013 -0500 +++ b/docs/index.rst Sun Jul 21 14:30:12 2013 -0500 @@ -58,22 +58,30 @@ Installation ------------ -``m209`` is available on the `Python Package Index`_ (PyPI). You can install it -using pip_:: +``m209`` is available on the `Python Package Index`_ (PyPI). + +You can install it using pip_:: $ pip install m209 # install $ pip install --upgrade m209 # upgrade You may also download a tarball or .zip file of the latest code by visiting the -Downloads tab on the `m209 Bitbucket page`_. Alternatively if you use -Mercurial_, you can clone the repository with the following command:: +`m209 Bitbucket page`_. Alternatively if you use Mercurial_, you can clone the +repository with the following command:: $ hg clone https://bitbucket.org/bgneal/m209 -If you did not use pip, you can install with this command:: +If you did not use pip (you downloaded or cloned the code yourself), you can +install with:: + $ cd where-you-extracted-m209 $ python setup.py install +To run the unit tests:: + + $ cd where-you-extracted-m209 + $ python -m unittest discover -b + Support & Source ----------------