Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Unified Diff: third_party/coverage-3.6/doc/install.rst

Issue 14988009: First cut of testing infrastructure for recipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: nitfixen Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/coverage-3.6/doc/index.rst ('k') | third_party/coverage-3.6/doc/source.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/coverage-3.6/doc/install.rst
diff --git a/third_party/coverage-3.6/doc/install.rst b/third_party/coverage-3.6/doc/install.rst
new file mode 100644
index 0000000000000000000000000000000000000000..9539093b4f2706aacdbaff1a0253705de04502bb
--- /dev/null
+++ b/third_party/coverage-3.6/doc/install.rst
@@ -0,0 +1,80 @@
+.. _install:
+
+============
+Installation
+============
+
+:history: 20100725T225600, new for 3.4.
+:history: 20100820T151500, updated for 3.4b1.
+:history: 20100906T134800, updated for 3.4b2.
+:history: 20110604T213400, updated for 3.5b1.
+:history: 20110629T082400, updated for 3.5.
+:history: 20110923T081900, updated for 3.5.1.
+:history: 20120429T162500, updated for 3.5.2b1.
+:history: 20120503T234000, updated for 3.5.2.
+:history: 20120929T093600, updated for 3.5.3.
+:history: 20121117T095000, Now setuptools is a pre-req.
+:history: 20121128T203000, updated for 3.6b1.
+:history: 20121223T180800, updated for 3.6b2.
+:history: 20121229T112400, updated for 3.6b3.
+:history: 20130105T174400, updated for 3.6.
+
+
+.. highlight:: console
+.. _coverage_pypi: http://pypi.python.org/pypi/coverage
+.. _setuptools: http://pypi.python.org/pypi/setuptools
+.. _Distribute: http://packages.python.org/distribute/
+
+
+Installing coverage.py is done in the usual ways. You must have `setuptools`_
+or `Distribute`_ installed already, and then you:
+
+#. Download the appropriate kit from the
+ `coverage page on the Python Package Index`__.
+
+#. Run ``python setup.py install``.
+
+or, use::
+
+ $ pip install coverage
+
+or even::
+
+ $ easy_install coverage
+
+.. __: coverage_pypi_
+
+
+Installing from source
+----------------------
+
+Coverage.py includes a C extension for speed. If you are installing from source,
+you may need to install the python-dev support files, for example with::
+
+ $ sudo apt-get install python-dev
+
+
+Installing on Windows
+---------------------
+
+For Windows, kits are provided on the `PyPI page`__ for different versions of
+Python and different CPU architectures. These kits require that `setuptools`_ be
+installed as a pre-requisite, but otherwise are self-contained. They have the
+C extension pre-compiled so there's no need to worry about compilers.
+
+.. __: coverage_pypi_
+
+
+Checking the installation
+-------------------------
+
+If all went well, you should be able to open a command prompt, and see
+coverage installed properly::
+
+ $ coverage --version
+ Coverage.py, version 3.6. http://nedbatchelder.com/code/coverage
+
+You can also invoke coverage as a module::
+
+ $ python -m coverage --version
+ Coverage.py, version 3.6. http://nedbatchelder.com/code/coverage
« no previous file with comments | « third_party/coverage-3.6/doc/index.rst ('k') | third_party/coverage-3.6/doc/source.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698