summaryrefslogtreecommitdiffstats
path: root/Doc/install
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-09-12 14:45:38 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-09-12 14:45:38 (GMT)
commitcde65768203618f084592fa5441a4c92618ed7e4 (patch)
treed5673b23e0c87b7d71eaaa3090405c41f04876a3 /Doc/install
parentfb7d24492f89ed1a3e076cca9f759c5f40ba2905 (diff)
downloadcpython-cde65768203618f084592fa5441a4c92618ed7e4.zip
cpython-cde65768203618f084592fa5441a4c92618ed7e4.tar.gz
cpython-cde65768203618f084592fa5441a4c92618ed7e4.tar.bz2
Remove unneeded --all option of “pysetup list”.
The command without arguments already prints all installed distributions found. In addition, change “releases” for “projects” in the description of the list action. Strictly speaking, one installed distribution satisfies the requirement for a release (i.e. version) of a project, but as currently only one release per project can be installed at a time, the two are somewhat equivalent, and “project” is more understandable in help texts (which call their argument “dist”, by the way..)
Diffstat (limited to 'Doc/install')
-rw-r--r--Doc/install/pysetup.rst17
1 files changed, 9 insertions, 8 deletions
diff --git a/Doc/install/pysetup.rst b/Doc/install/pysetup.rst
index 08ba08e..f6f1f83 100644
--- a/Doc/install/pysetup.rst
+++ b/Doc/install/pysetup.rst
@@ -19,13 +19,12 @@ Finding out what's installed
Pysetup makes it easy to find out what Python packages are installed::
- $ pysetup search virtualenv
- virtualenv 1.6 at /opt/python3.3/lib/python3.3/site-packages/virtualenv-1.6-py3.3.egg-info
+ $ pysetup list virtualenv
+ 'virtualenv' 1.6 at '/opt/python3.3/lib/python3.3/site-packages/virtualenv-1.6-py3.3.egg-info'
- $ pysetup search --all
- pyverify 0.8.1 at /opt/python3.3/lib/python3.3/site-packages/pyverify-0.8.1.dist-info
- virtualenv 1.6 at /opt/python3.3/lib/python3.3/site-packages/virtualenv-1.6-py3.3.egg-info
- wsgiref 0.1.2 at /opt/python3.3/lib/python3.3/wsgiref.egg-info
+ $ pysetup list
+ 'pyverify' 0.8.1 at '/opt/python3.3/lib/python3.3/site-packages/pyverify-0.8.1.dist-info'
+ 'virtualenv' 1.6 at '/opt/python3.3/lib/python3.3/site-packages/virtualenv-1.6-py3.3.egg-info'
...
@@ -146,9 +145,11 @@ Getting a list of all pysetup actions and global options::
metadata: Display the metadata of a project
install: Install a project
remove: Remove a project
- search: Search for a project
+ search: Search for a project in the indexes
+ list: List installed projects
graph: Display a graph
- create: Create a Project
+ create: Create a project
+ generate-setup: Generate a backward-comptatible setup.py
To get more help on an action, use: