~crunch.io/ubuntu/precise/codespeak-lib/unstable

« back to all changes in this revision

Viewing changes to doc/bin.txt

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb
  • Date: 2010-08-01 16:24:01 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100801162401-g37v49d1p148alpm
Tags: 1.3.3-1
* New upstream release.
* Bump Standards-Version to 3.9.1.
* Fix typo in py.test manpage.
* Prefer Breaks: over Conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
======================
2
 
pylib scripts 
 
2
pylib scripts
3
3
======================
4
4
 
5
5
The pylib installs several scripts to support testing and (python)
6
6
development.  If working from a checkout you may also add ``bin`` to
7
7
your ``PATH`` environment variable which makes the scripts available on
8
 
your shell prompt. 
 
8
your shell prompt.
9
9
 
10
10
``py.test`` and ``py.test-$VERSION``
11
11
============================================
14
14
in fact most code in the py lib is geared towards supporting the
15
15
testing process.  See the `py.test documentation`_ for extensive
16
16
documentation.  The ``py.test-$VERSION`` is the same script with
17
 
an interpreter specific suffix appended to make 
 
17
an interpreter specific suffix appended to make
18
18
several versions of py.test for using specific interpreters
19
19
accessible:
20
20
 
21
 
* CPython2.4: py.test-2.4 
 
21
* CPython2.4: py.test-2.4
22
22
* CPython2.5: py.test-2.5
23
 
* ... 
 
23
* ...
24
24
* CPython3.1: py.test-3.1
25
25
* Jython-2.5.1: py.test-jython
26
 
* pypy-$SUFFIX: py.test-pypy-$SUFFIX 
 
26
* pypy-$SUFFIX: py.test-pypy-$SUFFIX
27
27
 
28
28
.. _`py.test documentation`: test/index.html
29
29
 
33
33
Usage: ``py.which modulename``
34
34
 
35
35
Print the ``__file__`` of the module that is imported via ``import modulename``.
36
 
The version-suffix is the same as with ``py.test`` above. 
 
36
The version-suffix is the same as with ``py.test`` above.
37
37
 
38
38
``py.cleanup``
39
39
==============