Commit Graph

49778 Commits

Author SHA1 Message Date
Éric Araujo a69ade81be Rephrase the section about spec versioning 2011-06-06 02:02:34 +02:00
Éric Araujo 60533e03e9 Fix a few typos 2011-06-06 02:00:54 +02:00
Éric Araujo 1cf8a3203d Minor rework of the extensibility and acks sections 2011-06-06 02:00:03 +02:00
Éric Araujo 8a4e7a9e2c Move a non-PEP 345 field at the end of the metadata fields list 2011-06-06 01:58:54 +02:00
Éric Araujo 1389008022 Make example of file inclusion in setupcfg more obvious 2011-06-06 01:58:25 +02:00
Éric Araujo ed4fd704aa Rephrase and update intro and syntax sections of setupcfg 2011-06-06 02:07:24 +02:00
Éric Araujo 0300b5c9e6 Change reST targets in setup.cfg spec.
I chose “setupcfg” as prefix instead of “packaging-setupcfg” because the scope
of the spec is not limited to packaging: it’s intended as a language-agnostic
document for packaging tools developers as well as Python authors.
2011-06-06 01:54:54 +02:00
Éric Araujo f0f9b22459 Add a short table of contents to the setup.cfg spec.
I tried shortening the sidebar ToC with the tocdepth option instead, but it has
a bug which caused all headings with a level deeper than the tocdepth value to
all have the same section number, which was a usability regression rather than
in improvement.
2011-06-06 01:52:37 +02:00
Éric Araujo d5d831b74d Update doctring now that Python has real booleans 2011-06-06 01:13:48 +02:00
Éric Araujo 4559383664 Improve consistency in questions asked by packaging.create.
I reworded “wizard” because it is a Windows-specific term.
2011-06-04 22:37:57 +02:00
Éric Araujo 8f66f61e55 Clean up packaging.create and add TODO notes for future cleanups 2011-06-04 22:36:40 +02:00
Éric Araujo 18efecf30a Make help messages in packaging.run more consistent 2011-06-04 22:33:59 +02:00
Éric Araujo 2ef747cb77 Cleanup in packaging: don’t unnecessarily instantiate exceptions 2011-06-04 22:33:16 +02:00
Éric Araujo 35a4d01a92 Improve a few docstrings in packaging.
Also beautify import lists.  Having them grouped by lenght makes it slightly
easier to look for a module.
2011-06-04 22:24:59 +02:00
Éric Araujo 459b452b98 Merge ABC and distutils touch-ups from 3.2.
I have removed the reST target I added in 38cdca2cc253: it is not necessary, as
people can link to the glossary entry or the abc module without it.

Two indentation fixes from 3.2 collections.rst have been ported to 3.3
collections.abc.rst.
2011-06-04 21:16:42 +02:00
Éric Araujo 70798be6f6 Remove unneeded executable bit on two distutils files 2011-06-04 20:47:26 +02:00
Éric Araujo b4ef8f299f Branch merge 2011-06-04 20:37:16 +02:00
Éric Araujo 823759e767 Add reST target for Doc/packaging/setupcfg 2011-06-04 18:46:25 +02:00
Éric Araujo 088025fc5b Use list constructor or built-in method instead of copy module 2011-06-04 18:45:40 +02:00
Éric Araujo fa088dbd0c Improve glossary entry for ABCs.
- Rename reST target name for collections ABCs to avoid collisions
- Add link to importlib ABCs (collections, numbers and io ABCs were already
  linked)
- Link to glossary entry from numbers module doc (other modules already do it)
2011-06-04 18:42:38 +02:00
Éric Araujo ba661a9c39 Add missing section of doc file lost among repositories and conversions 2011-06-04 02:31:14 +02:00
Benjamin Peterson 4dfcb1a00d merge heads 2011-06-03 17:50:59 -05:00
Benjamin Peterson 48deae12d5 some horrible preprocessing tricks to automatically update the tag 2011-06-03 17:50:16 -05:00
Victor Stinner ab5fcc00a7 (Merge 3.2) Issue #12016: Add test_errorhandle() to TestBase_Mapping of
test_multibytecodec_support. Improve also error message of the
test_errorhandle() of TestBase.
2011-06-03 23:45:03 +02:00
Victor Stinner f5048a4075 Issue #12016: Add test_errorhandle() to TestBase_Mapping of
test_multibytecodec_support. Improve also error message of the
test_errorhandle() of TestBase.
2011-06-03 23:44:39 +02:00
Victor Stinner 2bc6c2ec2f (Merge 3.2) Issue #12016: Reindent decoders of HK and JP codecs 2011-06-03 23:34:32 +02:00
Victor Stinner 5dfe3bb2d9 Issue #12016: Reindent decoders of HK and JP codecs 2011-06-03 23:34:09 +02:00
Benjamin Peterson dd5be06e6b run autoconf 2011-06-03 14:38:24 -05:00
Benjamin Peterson d8f3b855fc remove AC_REVISION 2011-06-03 14:22:48 -05:00
Éric Araujo 36226804fe Point to new collections.abc module for collections ABCs 2011-06-03 20:49:39 +02:00
Éric Araujo 07e58c3389 Remove link that’s already present at the top of the file 2011-06-03 20:43:42 +02:00
Éric Araujo 61c4372ce1 Merge #12249 fix from 3.2 2011-06-03 19:27:16 +02:00
Éric Araujo 98e68adc7e Document working dir for “make html” (#12249). Patch by Tshepang Lekhonkhobe. 2011-06-03 19:25:58 +02:00
Éric Araujo f90112efe8 Fix reST label for collections ABCs.
The previous markup hijacked the abstract-base-classes glossary entry,
which resulted in the HTML linking to collections.abc when defining the
generic ABC concept.  Now the glossary links to the abc module.
2011-06-03 19:18:41 +02:00
Éric Araujo 5d5bde1df2 Document autoflushing in packaging.test.support.LoggingCatcher.get_logs.
I’m afraid my docstring is not as clear as it should be, but I can’t
find a concise way of describing what the code does.  Suggestions for
improvements welcome.
2011-06-03 17:28:23 +02:00
Éric Araujo 765e94f80c Add NEWS and whatsnew entries for the packaging module 2011-06-03 17:26:59 +02:00
Charles-François Natali 3ca4db881f Merge. 2011-06-03 12:57:49 +02:00
Charles-François Natali 239bb96540 Issue #12196: Make test.support's requires_linux_version a decorator. 2011-06-03 12:55:15 +02:00
Victor Stinner 301968874b Close #12250: Disable the regrtest timeout by default
Keep a timeout of 1 hour for buildbots.
2011-06-03 12:53:26 +02:00
Raymond Hettinger 22cc1183a3 merge 2011-06-02 23:49:44 -07:00
Raymond Hettinger 3d89057ff8 Fix named tuples to work with vars(). 2011-06-02 23:40:24 -07:00
Éric Araujo acf71b89ff Merge packaging doc fix 2011-06-02 16:43:25 +02:00
Éric Araujo 55729fe718 Packaging doc: Add missing index file, improve main page description.
Also promote notices from distutils doc to deprecation boxes.
2011-06-02 15:45:25 +02:00
Éric Araujo 8c86ecdab5 Fix format of warnings from the packaging check command 2011-06-02 14:54:44 +02:00
Éric Araujo 78af7d8392 Make packaging.tests.support.LoggingCatcher.get_logs flush the log handler.
This removes the need to call flush manually in each test, except when
testing code that creates warning without checking them.
2011-06-02 14:53:59 +02:00
Tarek Ziade 721ccd0ce1 added the generate-setup action 2011-06-02 12:00:44 +02:00
Tarek Ziade ab244398ba this documentation is now handled by all the new packaging contributors 2011-06-02 11:28:07 +02:00
Raymond Hettinger 0f6a7323d3 merge 2011-06-01 16:18:00 -07:00
Raymond Hettinger 9028928156 Forward port doc updates for builtin functions. 2011-06-01 16:17:23 -07:00
Éric Araujo 5da37be7f2 Kill trailing whitespace 2011-06-01 20:44:40 +02:00