summaryrefslogtreecommitdiff
path: root/distutils2/metadata.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge default?ric Araujo2012-05-211-15/+18
|\
| * Fix minor whitespace, syntax and idiom nits?ric Araujo2012-05-161-1/+0
| |
| * #13614: Merge changes from julien_courteau and PierrePaul regarding bad rstMathieu Leduc-Hamel2012-05-121-2/+2
| |
| * MergePierre Paul2012-05-121-1/+4
| |\
| | * fix: setup.py register fails if description has ReST uncompatible with ↵Julien Courteau2012-04-211-0/+3
| | | | | | | | | | | | Sphinx (#13614)
| | * Fix typoJulien Courteau2012-04-211-1/+1
| | |
| * | #13614: Raises a TypeError now if the RST description is invalidPierre Paul2012-05-121-1/+1
| |/
| * changed the metadata behavior so the version does not get set all the timeTarek Ziade2012-03-121-14/+15
| |
* | Merge default?ric Araujo2011-11-141-17/+10
|\ \ | |/ |/|
| * Ye olde merge.?ric Araujo2011-11-121-6/+6
| |\ | | | | | | | | | | | | I broke test_mixin2to3 somehow; distutils2-default is okay and packaging too, so I don?t see an obvious reason right now, I?ll investigate later.
| * | Start a branch to provide Distutils2 for Python 3.?ric Araujo2011-09-241-16/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This codebase is compatible with 3.1, 3.2 and 3.3. It was converted with 2to3 and a semi-automated diff/merge with packaging in 3.3 to fix some idioms. We?ve now come full circle from 2.x to 3.x to 2.x to 3.x again :) Starting from now, contributors can make patches for packaging (preferred, as the stdlib?s regrtest is very useful), distutils2 or distutils-python3, and we?ll make patches flow between versions.
* | | The error message should contain the key as given, not normalized.?ric Araujo2011-11-141-2/+4
| |/ |/| | | | | Backout of 8f69359881aa. Reported by Jeremy Kloth.
* | Code simplification?ric Araujo2011-11-121-4/+2
| |
* | Super considered super.?ric Araujo2011-11-121-3/+5
|/ | | | | | I think I?ve got all of them (I?ll clean up compat after); if someone knows a lint tool that can detect missing super calls, please let me know.
* Fix determination of Metadata version in packaging (#8933).?ric Araujo2011-09-191-3/+5
| | | | Original patch by Filip Gruszczy?ski.
* Consolidate tests for d2.metadata.?ric Araujo2011-09-191-3/+13
| | | | | | | | | | | | | | | | | New tests were added in test_metadata and old tests inherited from distutils were still in test_dist, so I moved them into test_metadata (except for one which was more at home in test_run) and merged duplicates. I also added some skips to lure contributors <wink>, optimized the Metadata.update method a trifle, and added notes about a number of issues. A note: The tests in test_dist used to dump the Metadata objects to a file in the METADATA format and look for strings in its contents; I updated them to use the mapping API of Metadata instead. For some fields with special writing rules, I have added tests to ensure my conversion did not lose anything.
* Fix the backport fixes.?ric Araujo2011-09-181-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backports: - sysconfig is now always imported from our backports - when hashlib is not found, our backport is used instead of the md5 module (debatable; we could just drop hashlib) Version-dependent features: - PEP 370 features are only enabled for 2.6+ - the check for sys.dont_write_bytecode was fixed to use getattr with a default value instead of hasattr Idioms/syntax: - octal literals lost their extra 0 - misused try/except blocks have been changed back to try/finally (it?s legal in 2.4 too, it?s only try/except/finally that isn?t) - exception catching uses the regular 2.x idiom instead of sys.exc_info - file objects are closed within finally blocks (this causes much whitespace changes but actually makes diff with packaging easier) Renamed modules: - some missed renamings (_thread, Queue, isAlive, urllib.urlsplit, etc.) were fixed Other: - a few false positive replacements of ?packaging? by ?distutils2? in comments or docstrings were reverted - util.is_packaging regained its name - assorted whitespace/comment/import changes to match packaging
* Factor out the distribution file-system safe name functions from ↵Jeremy Kloth2011-09-061-3/+13
| | | | install_distinfo to allow all metadata consumers access to them.
* Branch merge. Will clean up later.?ric Araujo2011-08-311-8/+0
|\
| * Remove class that was only useful with Sphinx autodoc?ric Araujo2011-08-291-8/+0
| |
* | Fixed a python2.4 syntax errors.Alexandru Plugaru2011-08-301-4/+6
|/
* Backported packaging from cpython default, overwriting previous version.Vinay Sajip2011-08-181-84/+76
|
* Changing the metadata.version API and relocating the metadata_to_dict function.Kelsey Hightower2011-02-101-9/+54
| | | | | | A new function, get_metadata_version, replaces the metadata.version attribute as the preferred method of retrieving the metadata version. The metadata_to_dict function has been relocated from distutils2.util to distutils2.metadata to help improve organization.
* Clean up metadata?ric Araujo2011-02-091-35/+36
|
* Remove unneeded constant in favor of comment.?ric Araujo2011-02-091-3/+1
|
* Fix type of d2.metadata.__all__?ric Araujo2011-02-061-2/+2
|
* Branch merge.?ric Araujo2011-02-031-2/+2
|\ | | | | | | | | | | | | There are a number of bugs and issues in the implementation of mkcfg. The tests should be partially rewritten too (to use RawInputs instead of sys.stdin.write for example, or to compare config file sections without using sets). I?ll look into it.
| * renamed DistributionMetadata to MetadataChristophe Combelles2011-01-281-2/+2
| |
* | Don't check twice the same thing (restructured text compatibility).Alexis Metaireau2011-02-011-2/+2
| | | | | | | | Add a note in DEVNOTES to be sure all tests are really runned (and not skipped cause of docutils)
* | merge changes by sprintGodefroid Chapelle2011-01-291-196/+24
|\ \
| * | split the micro-language for PEP 345 in markersTarek Ziade2011-01-291-191/+2
| | |
| * | merge Julien's cloneGael Pasgrimaud2011-01-291-6/+30
| |\ \
| | * | add docstring to all public api of DistributionMetadataGael Pasgrimaud2011-01-281-0/+6
| | | |
| | * | add DistributionMetadata to apiref. fix directives in modules documentationGael Pasgrimaud2011-01-281-2/+8
| | | |
| | * | Allow to have more than one file in description-file. Also check that those ↵Gael Pasgrimaud2011-01-281-0/+1
| | | | | | | | | | | | | | | | files are added to MANIFEST
| | * | move lineGael Pasgrimaud2011-01-281-2/+2
| | | |
| * | | 'Supported-Platform' was missing from the list of multiple use fields.Julien Miotte2011-01-281-1/+1
| | | |
| * | | Better handling of multi lines fields of the setup.cfg.Julien Miotte2011-01-281-0/+4
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now single line values can be written on the same line as the field name. For instance, the line: project_url = spam,http://spam.spam Was causing python -m distutils.run sdist with this error: ValueError: need more than 1 value to unpack Now, every field that should be of multiple use is handled as a list.
* | | metadata.check checks for missing authorGodefroid Chapelle2011-01-291-1/+1
| |/ |/| | | | | add tests accordingly
* | fixed #11038. Add strict parameter to metadata.check() and use the strict ↵Gael Pasgrimaud2011-01-281-3/+14
|/ | | | mode in check command
* savepointTarek Ziade2010-11-271-16/+19
|
* finished the removal of the log moduleTarek Ziade2010-11-051-4/+4
|
* Branch merge?ric Araujo2010-10-021-12/+19
|\
| * Added the ability to test for existence of a given fieldJeremy Kloth2010-10-011-12/+19
| |
* | added support for more metadata and filesTarek Ziade2010-10-011-1/+1
|/
* moved everything in the same dir - we want to include docs/ in the releaseTarek Ziade2010-09-191-0/+670