From 13fa0847ab676ee2975403cefdb25f2d5395f4ad Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Sun, 9 Sep 2012 17:24:22 +0400 Subject: setup.py: Add `long_description` attribute to `data` so that there's no text breakage on PyPI page --- setup.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/setup.py b/setup.py index 3491300..e6fbdd7 100755 --- a/setup.py +++ b/setup.py @@ -165,6 +165,27 @@ class md_build(build): sub_commands = build.sub_commands + [('build_docs', has_docs)] +long_description = \ +'''This is a Python implementation of John Gruber's Markdown_. +It is almost completely compliant with the reference implementation, +though there are a few known issues. See Features_ for information +on what exactly is supported and what is not. Additional features are +supported by the `Available Extensions`_. + +.. _Python-Markdown: http://packages.python.org/Markdown/ +.. _Markdown: http://daringfireball.net/projects/markdown/ +.. _Features: http://packages.python.org/Markdown/index.html#Features +.. _`Available Extensions`: http://packages.python.org/Markdown/extensions/index.html + +Support +======= + +You may ask for help and discuss various other issues on the +`mailing list`_ and report bugs on the `bug tracker`_. + +.. _`mailing list`: http://lists.sourceforge.net/lists/listinfo/python-markdown-discuss +.. _`bug tracker`: http://github.com/waylan/Python-Markdown/issues +''' data = dict( name = 'Markdown', @@ -172,6 +193,7 @@ data = dict( url = 'http://packages.python.org/Markdown/', download_url = 'http://pypi.python.org/packages/source/M/Markdown/Markdown-%s.tar.gz' % version, description = 'Python implementation of Markdown.', + long_description = long_description, author = 'Manfred Stienstra, Yuri takhteyev and Waylan limberg', author_email = 'markdown [at] freewisdom.org', maintainer = 'Waylan Limberg', -- cgit v1.2.3 From a3656333ea3f7b391b1b61c13e3566b4e0d81053 Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Sun, 9 Sep 2012 18:26:44 +0400 Subject: Remove unneeded link --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index e6fbdd7..6551c5f 100755 --- a/setup.py +++ b/setup.py @@ -172,7 +172,6 @@ though there are a few known issues. See Features_ for information on what exactly is supported and what is not. Additional features are supported by the `Available Extensions`_. -.. _Python-Markdown: http://packages.python.org/Markdown/ .. _Markdown: http://daringfireball.net/projects/markdown/ .. _Features: http://packages.python.org/Markdown/index.html#Features .. _`Available Extensions`: http://packages.python.org/Markdown/extensions/index.html -- cgit v1.2.3