[Python-checkins] r79893 - peps/trunk/pep-0376.txt
tarek.ziade
python-checkins at python.org
Wed Apr 7 15:29:07 CEST 2010
Author: tarek.ziade
Date: Wed Apr 7 15:29:07 2010
New Revision: 79893
Log:
fixes from python-dev feedback
Modified:
peps/trunk/pep-0376.txt
Modified: peps/trunk/pep-0376.txt
==============================================================================
--- peps/trunk/pep-0376.txt (original)
+++ peps/trunk/pep-0376.txt Wed Apr 7 15:29:07 2010
@@ -219,9 +219,13 @@
Here's an example of a RECORD file (extract)::
lib/python2.6/site-packages/docutils/__init__.py,b690274f621402dda63bf11ba5373bf2,9544
+ lib/python2.6/site-packages/docutils/__init__.pyc
lib/python2.6/site-packages/docutils/core.py,9c4b84aff68aa55f2e9bf70481b94333,66188
+ lib/python2.6/site-packages/docutils/core.pyc
lib/python2.6/site-packages/roman.py,a4b84aff68aa55f2e9bf70481b943D3,234
+ lib/python2.6/site-packages/roman.pyc
/usr/local/bin/rst2html.py,a4b84aff68aa55f2e9bf70481b943D3,234
+ /usr/local/bin/rst2html.pyc
python2.6/site-packages/docutils-0.5.dist-info/METADATA,6fe57de576d749536082d8e205b77748,195
lib/python2.6/site-packages/docutils-0.5.dist-info/RECORD
@@ -275,7 +279,7 @@
file. It accepts ``--requested`` and ``--no-requested`` options to explicitly
specify whether the file is created.
-If a package that was already installed on the system as a dependency
+If a distribution that was already installed on the system as a dependency
is later installed by name, the distutils ``install`` command will
create the REQUESTED file in the .dist-info directory of the existing
installation.
@@ -329,6 +333,10 @@
Iterates over all distributions to find out which distributions uses ``path``.
``path`` can be a local absolute path or a relative '/'-separated path.
+ A local absolute path is an absolute path in which occurrences of '/'
+ have been replaced by the system separator given by ``os.sep``.
+
+
Distribution class
~~~~~~~~~~~~~~~~~~
@@ -348,7 +356,7 @@
distribution's METADATA file.
- ``requested``: A boolean that indicates whether the REQUESTED
- metadata file is present (in other words, whether the package was
+ metadata file is present (in other words, whether the distribution was
installed by user request).
And following methods:
@@ -520,7 +528,7 @@
An `uninstall` script is added in Distutils. and is used like this::
- $ python -m distutils.uninstall packagename
+ $ python -m distutils.uninstall projectname
Notice that script doesn't control if the removal of a distribution breaks
another distribution. Although it makes sure that all the files it removes
More information about the Python-checkins
mailing list