Fix syntax in packaging docs and update suspicious ignore file.

This commit is contained in:
Georg Brandl 2011-07-09 11:48:50 +02:00
parent 6c0929b2dd
commit d3b41c63a6
4 changed files with 28 additions and 5 deletions

View file

@ -368,7 +368,7 @@ libraries and the like.
*sources* must be a list of filenames, most likely C/C++ files, but in reality *sources* must be a list of filenames, most likely C/C++ files, but in reality
anything that can be handled by a particular compiler and compiler class (e.g. anything that can be handled by a particular compiler and compiler class (e.g.
an ``'msvc'`` compiler` can handle resource files in *sources*). Return a list of an ``'msvc'`` compiler can handle resource files in *sources*). Return a list of
object filenames, one per source filename in *sources*. Depending on the object filenames, one per source filename in *sources*. Depending on the
implementation, not all source files will necessarily be compiled, but all implementation, not all source files will necessarily be compiled, but all
corresponding object filenames will be returned. corresponding object filenames will be returned.

View file

@ -283,7 +283,7 @@ built-in functions in the installation script.
Which folders are available depends on the exact Windows version, and probably Which folders are available depends on the exact Windows version, and probably
also the configuration. For details refer to Microsoft's documentation of the also the configuration. For details refer to Microsoft's documentation of the
c:function:`SHGetSpecialFolderPath` function. :c:func:`SHGetSpecialFolderPath` function.
.. function:: create_shortcut(target, description, filename[, arguments[, workdir[, iconpath[, iconindex]]]]) .. function:: create_shortcut(target, description, filename[, arguments[, workdir[, iconpath[, iconindex]]]])

View file

@ -57,7 +57,7 @@ older versions, if installed).
.. cmdoption:: --suite=NAME, -s NAME .. cmdoption:: --suite=NAME, -s NAME
Specify the test suite (or module, class, or method) to be run. The default Specify the test suite (or module, class, or method) to be run. The default
for this option can be set by in the project's :file:`setup.cfg` file:: for this option can be set by in the project's :file:`setup.cfg` file:
.. code-block:: cfg .. code-block:: cfg

View file

@ -46,8 +46,8 @@ library/functions,,:stop,"a[start:stop, i]"
library/functions,,:stop,a[start:stop:step] library/functions,,:stop,a[start:stop:step]
library/hotshot,,:lineno,"ncalls tottime percall cumtime percall filename:lineno(function)" library/hotshot,,:lineno,"ncalls tottime percall cumtime percall filename:lineno(function)"
library/httplib,,:port,host:port library/httplib,,:port,host:port
library/imaplib,,:MM,"""DD-Mmm-YYYY HH:MM:SS +HHMM""" library/imaplib,,:MM,"""DD-Mmm-YYYY HH:MM:SS"
library/imaplib,,:SS,"""DD-Mmm-YYYY HH:MM:SS +HHMM""" library/imaplib,,:SS,"""DD-Mmm-YYYY HH:MM:SS"
library/itertools,,:stop,elements from seq[start:stop:step] library/itertools,,:stop,elements from seq[start:stop:step]
library/itertools,,:step,elements from seq[start:stop:step] library/itertools,,:step,elements from seq[start:stop:step]
library/linecache,,:sys,"sys:x:3:3:sys:/dev:/bin/sh" library/linecache,,:sys,"sys:x:3:3:sys:/dev:/bin/sh"
@ -495,3 +495,26 @@ library/pprint,209,::,"'Programming Language :: Python :: 2.6',"
library/pprint,209,::,"'Programming Language :: Python :: 2.7'," library/pprint,209,::,"'Programming Language :: Python :: 2.7',"
library/pprint,209,::,"'Topic :: Software Development :: Libraries'," library/pprint,209,::,"'Topic :: Software Development :: Libraries',"
library/pprint,209,::,"'Topic :: Software Development :: Libraries :: Python Modules']," library/pprint,209,::,"'Topic :: Software Development :: Libraries :: Python Modules'],"
library/packaging.dist,,:action,http://pypi.python.org/pypi?:action=list_classifiers
packaging/examples,,`,This is the description of the ``foobar`` project.
packaging/setupcfg,,::,Development Status :: 3 - Alpha
packaging/setupcfg,,::,License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)
packaging/setupscript,,::,"'Development Status :: 4 - Beta',"
packaging/setupscript,,::,"'Environment :: Console',"
packaging/setupscript,,::,"'Environment :: Web Environment',"
packaging/setupscript,,::,"'Intended Audience :: End Users/Desktop',"
packaging/setupscript,,::,"'Intended Audience :: Developers',"
packaging/setupscript,,::,"'Intended Audience :: System Administrators',"
packaging/setupscript,,::,"'License :: OSI Approved :: Python Software Foundation License',"
packaging/setupscript,,::,"'Operating System :: MacOS :: MacOS X',"
packaging/setupscript,,::,"'Operating System :: Microsoft :: Windows',"
packaging/setupscript,,::,"'Operating System :: POSIX',"
packaging/setupscript,,::,"'Programming Language :: Python',"
packaging/setupscript,,::,"'Topic :: Communications :: Email',"
packaging/setupscript,,::,"'Topic :: Office/Business',"
packaging/setupscript,,::,"'Topic :: Software Development :: Bug Tracking',"
packaging/tutorial,,::,1) License :: OSI Approved :: GNU General Public License (GPL)
packaging/tutorial,,::,2) License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
packaging/tutorial,,::,Type the number of the license you wish to use or ? to try again:: 1
packaging/tutorial,,::,classifier = Development Status :: 3 - Alpha
packaging/tutorial,,::,License :: OSI Approved :: GNU General Public License (GPL)

1 c-api/arg :ref PyArg_ParseTuple(args, "O|O:ref", &object, &callback)
46 library/functions :stop a[start:stop:step]
47 library/hotshot :lineno ncalls tottime percall cumtime percall filename:lineno(function)
48 library/httplib :port host:port
49 library/imaplib :MM "DD-Mmm-YYYY HH:MM:SS +HHMM" "DD-Mmm-YYYY HH:MM:SS
50 library/imaplib :SS "DD-Mmm-YYYY HH:MM:SS +HHMM" "DD-Mmm-YYYY HH:MM:SS
51 library/itertools :stop elements from seq[start:stop:step]
52 library/itertools :step elements from seq[start:stop:step]
53 library/linecache :sys sys:x:3:3:sys:/dev:/bin/sh
495 library/pprint 209 :: 'Programming Language :: Python :: 2.7',
496 library/pprint 209 :: 'Topic :: Software Development :: Libraries',
497 library/pprint 209 :: 'Topic :: Software Development :: Libraries :: Python Modules'],
498 library/packaging.dist :action http://pypi.python.org/pypi?:action=list_classifiers
499 packaging/examples ` This is the description of the ``foobar`` project.
500 packaging/setupcfg :: Development Status :: 3 - Alpha
501 packaging/setupcfg :: License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)
502 packaging/setupscript :: 'Development Status :: 4 - Beta',
503 packaging/setupscript :: 'Environment :: Console',
504 packaging/setupscript :: 'Environment :: Web Environment',
505 packaging/setupscript :: 'Intended Audience :: End Users/Desktop',
506 packaging/setupscript :: 'Intended Audience :: Developers',
507 packaging/setupscript :: 'Intended Audience :: System Administrators',
508 packaging/setupscript :: 'License :: OSI Approved :: Python Software Foundation License',
509 packaging/setupscript :: 'Operating System :: MacOS :: MacOS X',
510 packaging/setupscript :: 'Operating System :: Microsoft :: Windows',
511 packaging/setupscript :: 'Operating System :: POSIX',
512 packaging/setupscript :: 'Programming Language :: Python',
513 packaging/setupscript :: 'Topic :: Communications :: Email',
514 packaging/setupscript :: 'Topic :: Office/Business',
515 packaging/setupscript :: 'Topic :: Software Development :: Bug Tracking',
516 packaging/tutorial :: 1) License :: OSI Approved :: GNU General Public License (GPL)
517 packaging/tutorial :: 2) License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
518 packaging/tutorial :: Type the number of the license you wish to use or ? to try again:: 1
519 packaging/tutorial :: classifier = Development Status :: 3 - Alpha
520 packaging/tutorial :: License :: OSI Approved :: GNU General Public License (GPL)