This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: change sdist and register command so they use check
Type: Stage:
Components: Distutils Versions: Python 3.1, Python 2.7
process
Status: closed Resolution:
Dependencies: 5732 Superseder:
Assigned To: tarek Nosy List: tarek
Priority: normal Keywords:

Created on 2009-05-16 16:27 by tarek, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg87900 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2009-05-16 16:27
the check command now is able to check the meta-data, so we can remove
duplicate code located in both "sdist" and "register" and call "check as
a subcommand.

- register will also have a new boolean option called "strict". If set
to True (it's unset by default), register will stop if the metadata are
not OK or if the long_description fails to compile in reST (as long as
docutils is installed of course)

- sdist will have a new boolean option called "medata-check", set to
true by default. That will use "check" to verify the metadata (not the 
long_description reSt compliancy though, just the metadata fields presence)
msg87901 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2009-05-16 16:29
the old check_metadata method, duplicated in sdist and register, will be
marked with a PendingDeprecationWarning.
msg87904 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2009-05-16 17:01
done in r72681, r72683
History
Date User Action Args
2022-04-11 14:56:48adminsetgithub: 50291
2009-05-16 17:01:06tareksetstatus: open -> closed

dependencies: + add a new command called "check" into Distutils
messages: + msg87904
2009-05-16 16:49:50tareklinkissue5732 dependencies
2009-05-16 16:29:36tareksetmessages: + msg87901
2009-05-16 16:27:43tarekcreate