summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
authorJean-Philippe Camguilhem <jp.camguilhem@gmail.com>2011-11-19 16:09:41 +0100
committerMichael Merickel <michael@merickel.org>2011-11-21 20:47:54 -0600
commitf1013bebcdd013cd1cb47cf7585c0eaa34ec3b75 (patch)
tree3051fd9b58b0f3f1c4e4a5b0a0341db85841bc88 /docs/narr
parentc96ca8631d7899b2fe6770180b066fbec031473d (diff)
downloadpyramid-f1013bebcdd013cd1cb47cf7585c0eaa34ec3b75.tar.gz
pyramid-f1013bebcdd013cd1cb47cf7585c0eaa34ec3b75.tar.bz2
pyramid-f1013bebcdd013cd1cb47cf7585c0eaa34ec3b75.zip
add bpython support for pshell
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/commandline.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/narr/commandline.rst b/docs/narr/commandline.rst
index 0dc41e919..dc2b75ed6 100644
--- a/docs/narr/commandline.rst
+++ b/docs/narr/commandline.rst
@@ -111,6 +111,7 @@ For a URL that doesn't match any views, ``pviews`` will simply print out a
single: interactive shell
single: IPython
single: pshell
+ single: bpython
.. _interactive_shell:
@@ -284,6 +285,19 @@ standard Python interpreter shell unconditionally.
development.ini#MyProject
+bpython
+~~~~~~~
+
+If you have `bpython <http://bpython-interpreter.org/>`_ installed in
+the interpreter you use to invoke the ``pshell`` command, ``pshell`` will use
+a bpython interactive shell instead of a standard Python if you pass the ``-b``
+or ``--enable-bpython`` flag to the ``pshell`` command.
+
+.. code-block:: text
+
+ [chrism@vitaminf shellenv]$ ../bin/pshell --enable-bpython \
+ development.ini#MyProject
+
.. index::
pair: routes; printing
single: proutes