diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2013-10-11 20:57:35 -0300 |
---|---|---|
committer | Bruno Oliveira <nicoddemus@gmail.com> | 2013-10-11 20:57:35 -0300 |
commit | 6e619e0a70dbdb2fba29d9f6ec43e6bf0993ff24 (patch) | |
tree | afafcc7153256ca38ec3b41333cf71a4334d508b | |
parent | 5b2b71bfd450ee0e22bfc4a15b5c0c1c8f6ba29c (diff) | |
download | pytest-6e619e0a70dbdb2fba29d9f6ec43e6bf0993ff24.tar.gz |
fixed 'PyPI' spelling
--HG--
branch : plugins-index
-rw-r--r-- | doc/en/plugins_index.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/en/plugins_index.py b/doc/en/plugins_index.py index 17765d146..96726cdc0 100644 --- a/doc/en/plugins_index.py +++ b/doc/en/plugins_index.py @@ -1,6 +1,6 @@ ''' Script to generate the file `plugins_index.txt` with information about pytest plugins taken directly -from a live pypi server. +from a live PyPI server. This will evolve to include test compatibility (pythons and pytest versions) information also. ''' @@ -19,7 +19,7 @@ import xmlrpclib #=================================================================================================== def iter_plugins(client, search='pytest-'): ''' - Returns an iterator of (name, version) from pypi. + Returns an iterator of (name, version) from PyPI. :param client: xmlrpclib.ServerProxy :param search: package names to search for @@ -145,7 +145,7 @@ def _get_today_as_str(): #=================================================================================================== def generate_plugins_index(client, filename): ''' - Generates an RST file with a table of the latest pytest plugins found in pypi. + Generates an RST file with a table of the latest pytest plugins found in PyPI. :param client: xmlrpclib.ServerProxy :param filename: output filename @@ -162,9 +162,9 @@ def main(argv): filename = os.path.join(os.path.dirname(__file__), 'plugins_index.txt') url = 'http://pypi.python.org/pypi' - parser = OptionParser(description='Generates a restructured document of pytest plugins from PyPi') + parser = OptionParser(description='Generates a restructured document of pytest plugins from PyPI') parser.add_option('-f', '--filename', default=filename, help='output filename [default: %default]') - parser.add_option('-u', '--url', default=url, help='url of PyPi server to obtain data from [default: %default]') + parser.add_option('-u', '--url', default=url, help='url of PyPI server to obtain data from [default: %default]') (options, _) = parser.parse_args(argv[1:]) client = xmlrpclib.ServerProxy(options.url) |