File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Msgcheck ChangeLog
22
3+ ## Version 4.1.0 (under dev)
4+
5+ - Use file README.md as package long description.
6+
37## Version 4.0.0 (2022-01-23)
48
59- Drop Python 2 support, Python 3.6 is now required.
Original file line number Diff line number Diff line change 2222from msgcheck .msgcheck import msgcheck_version
2323
2424DESCRIPTION = 'Gettext file checker.'
25- LONG_DESCRIPTION = """
26- MsgCheck performs various checks on gettext files:
2725
28- * compilation (with command `msgfmt -c`)
29- * for each translation:
30-
31- - number of lines in translated strings
32- - whitespace at beginning/end of strings
33- - trailing whitespace at end of lines inside strings
34- - punctuation at end of strings
35- - spelling (messages and translations).
36- """
26+ with open ('README.md' , 'r' , encoding = 'utf-8' ) as f :
27+ readme = f .read ()
3728
3829setup (
3930 name = 'msgcheck' ,
4031 version = msgcheck_version (),
4132 description = DESCRIPTION ,
42- long_description = LONG_DESCRIPTION ,
33+ long_description = readme ,
34+ long_description_content_type = 'text/markdown' ,
4335 author = 'Sébastien Helleu' ,
4436 author_email = 'flashcode@flashtux.org' ,
4537 url = 'https://github.com/flashcode/msgcheck' ,
You can’t perform that action at this time.
0 commit comments