diff options
| author | Chris McDonough <chrism@plope.com> | 2013-03-13 15:13:37 -0700 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-03-13 15:13:37 -0700 |
| commit | 13e241b21770a2471d520aa21b27e20f98aaecb3 (patch) | |
| tree | 913c9bf716432b8a1cd8e0e5779196c757eea117 /docs/conventions.rst | |
| parent | 6d62d124ee8ffd09459690e34aae95b43d0f2d53 (diff) | |
| parent | 919643eec1a480cee442331a966a9c6c90fb0965 (diff) | |
| download | pyramid-13e241b21770a2471d520aa21b27e20f98aaecb3.tar.gz pyramid-13e241b21770a2471d520aa21b27e20f98aaecb3.tar.bz2 pyramid-13e241b21770a2471d520aa21b27e20f98aaecb3.zip | |
Merge pull request #910 from tshepang/venv
consistency: use $VENV whenever virtualenv binaries are used
Diffstat (limited to 'docs/conventions.rst')
| -rw-r--r-- | docs/conventions.rst | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/docs/conventions.rst b/docs/conventions.rst index 0c38e11d8..4cffd1084 100644 --- a/docs/conventions.rst +++ b/docs/conventions.rst @@ -55,21 +55,25 @@ character, e.g.: .. code-block:: text - $ ../bin/nosetests + $ $VENV/bin/nosetests + +(See :term:`virtualenv` for the meaning of ``$VENV``) Example blocks representing Windows ``cmd.exe`` commands are prefixed with a drive letter and/or a directory name, e.g.: .. code-block:: text - c:\examples> ..\Scripts\nosetests + c:\examples> %VENV%\Scripts\nosetests + +(See :term:`virtualenv` for the meaning of ``%VENV%``) Sometimes, when it's unknown which directory is current, Windows ``cmd.exe`` example block commands are prefixed only with a ``>`` character, e.g.: .. code-block:: text - > ..\Scripts\nosetests + > %VENV%\Scripts\nosetests When a command that should be typed on one line is too long to fit on a page, the backslash ``\`` is used to indicate that the following printed line @@ -77,7 +81,7 @@ should actually be part of the command: .. code-block:: text - c:\bigfntut\tutorial> ..\Scripts\nosetests --cover-package=tutorial \ + c:\bigfntut\tutorial> %VENV%\Scripts\nosetests --cover-package=tutorial \ --cover-erase --with-coverage A sidebar, which presents a concept tangentially related to content |
