mirror of https://github.com/python/cpython
Use standard comma punctuation; reword some sentences in the docs
This commit is contained in:
parent
400054e59e
commit
b6f0128c63
|
@ -236,10 +236,10 @@ With exactly the same source tree layout, this extension can be put in the
|
||||||
Checking a package
|
Checking a package
|
||||||
==================
|
==================
|
||||||
|
|
||||||
The ``check`` command allows you to verify if your package meta-data are
|
The ``check`` command allows you to verify if your package meta-data
|
||||||
meeting the minimum requirements to build a distribution.
|
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.
|
missing, ``check`` will display a warning.
|
||||||
|
|
||||||
Let's take an example with a simple script::
|
Let's take an example with a simple script::
|
||||||
|
@ -252,7 +252,7 @@ Running the ``check`` command will display some warnings::
|
||||||
|
|
||||||
$ python setup.py check
|
$ python setup.py check
|
||||||
running 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
|
warning: check: missing meta-data: either (author and author_email) or
|
||||||
(maintainer and maintainer_email) must be supplied
|
(maintainer and maintainer_email) must be supplied
|
||||||
|
|
||||||
|
|
|
@ -91,7 +91,7 @@ class check(Command):
|
||||||
missing.append(attr)
|
missing.append(attr)
|
||||||
|
|
||||||
if missing:
|
if missing:
|
||||||
self.warn("missing required meta-data: %s" % ' ,'.join(missing))
|
self.warn("missing required meta-data: %s" % ', '.join(missing))
|
||||||
if metadata.author:
|
if metadata.author:
|
||||||
if not metadata.author_email:
|
if not metadata.author_email:
|
||||||
self.warn("missing meta-data: if 'author' supplied, " +
|
self.warn("missing meta-data: if 'author' supplied, " +
|
||||||
|
|
Loading…
Reference in New Issue