diff options
| author | Paul Everitt <paul@agendaless.com> | 2013-08-13 13:50:06 -0400 |
|---|---|---|
| committer | Paul Everitt <paul@agendaless.com> | 2013-08-13 13:50:06 -0400 |
| commit | 0dfacfa09dcf62e5a41c3762e7f9b5d1467b54e6 (patch) | |
| tree | 6d9f12bc42fde9fea95d7754f2decff212acf6ee /docs/narr/commandline.rst | |
| parent | d44d0e044555cd1287680fc8368632a64ebe979b (diff) | |
| parent | 5ae91a8ef06c4484bf748c7be578b28d0ca0f12c (diff) | |
| download | pyramid-0dfacfa09dcf62e5a41c3762e7f9b5d1467b54e6.tar.gz pyramid-0dfacfa09dcf62e5a41c3762e7f9b5d1467b54e6.tar.bz2 pyramid-0dfacfa09dcf62e5a41c3762e7f9b5d1467b54e6.zip | |
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/narr/commandline.rst')
| -rw-r--r-- | docs/narr/commandline.rst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/narr/commandline.rst b/docs/narr/commandline.rst index e1347f3ca..17e5227fa 100644 --- a/docs/narr/commandline.rst +++ b/docs/narr/commandline.rst @@ -474,6 +474,30 @@ input of the ``prequest`` process is used as the ``POST`` body:: $ $VENV/bin/prequest -mPOST development.ini / < somefile +Showing All Installed Distributions and their Versions +------------------------------------------------------ + +.. versionadded:: 1.5 + +You can use the ``pdistreport`` command to show the Pyramid version in use, the +Python version in use, and all installed versions of Python distributions in +your Python environment:: + + $ $VENV/bin/pdistreport + Pyramid version: 1.5dev + Platform Linux-3.2.0-51-generic-x86_64-with-debian-wheezy-sid + Packages: + authapp 0.0 + /home/chrism/projects/foo/src/authapp + beautifulsoup4 4.1.3 + /home/chrism/projects/foo/lib/python2.7/site-packages/beautifulsoup4-4.1.3-py2.7.egg + ... more output ... + +``pdistreport`` takes no options. Its output is useful to paste into a +pastebin when you are having problems and need someone with more familiarity +with Python packaging and distribution than you have to look at your +environment. + .. _writing_a_script: Writing a Script |
