[Python-checkins] r75266 - in python/trunk: Doc/distutils/examples.rst Lib/distutils/command/check.py

andrew.kuchling python-checkins at python.org
Tue Oct 6 00:32:48 CEST 2009


Author: andrew.kuchling
Date: Tue Oct  6 00:32:48 2009
New Revision: 75266

Log:
Use standard comma punctuation; reword some sentences in the docs

Modified:
   python/trunk/Doc/distutils/examples.rst
   python/trunk/Lib/distutils/command/check.py

Modified: python/trunk/Doc/distutils/examples.rst
==============================================================================
--- python/trunk/Doc/distutils/examples.rst	(original)
+++ python/trunk/Doc/distutils/examples.rst	Tue Oct  6 00:32:48 2009
@@ -236,10 +236,10 @@
 Checking a package
 ==================
 
-The ``check`` command allows you to verify if your package meta-data are
-meeting the minimum requirements to build a distribution.
+The ``check`` command allows you to verify if your package meta-data
+meet the minimum requirements to build a distribution.
 
-To run it, just call it over your :file:`setup.py` script. If something is
+To run it, just call it using your :file:`setup.py` script. If something is
 missing, ``check`` will display a warning.
 
 Let's take an example with a simple script::
@@ -252,7 +252,7 @@
 
     $ python setup.py check
     running check
-    warning: check: missing required meta-data: version ,url
+    warning: check: missing required meta-data: version, url
     warning: check: missing meta-data: either (author and author_email) or
              (maintainer and maintainer_email) must be supplied
 

Modified: python/trunk/Lib/distutils/command/check.py
==============================================================================
--- python/trunk/Lib/distutils/command/check.py	(original)
+++ python/trunk/Lib/distutils/command/check.py	Tue Oct  6 00:32:48 2009
@@ -91,7 +91,7 @@
                 missing.append(attr)
 
         if missing:
-            self.warn("missing required meta-data: %s"  % ' ,'.join(missing))
+            self.warn("missing required meta-data: %s"  % ', '.join(missing))
         if metadata.author:
             if not metadata.author_email:
                 self.warn("missing meta-data: if 'author' supplied, " +


More information about the Python-checkins mailing list