From 1edbb9dcb998966e43e02f5e345fe3d08c0307dc Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Sun, 10 Dec 2017 14:52:48 +0300 Subject: Restore code to use markdown_py as the console script name. --- setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 668696a..fc7ee49 100755 --- a/setup.py +++ b/setup.py @@ -30,6 +30,11 @@ def get_version(): version, version_info, DEVSTATUS = get_version() +# The command line script name. Currently set to "markdown_py" so as not to +# conflict with the perl implimentation (which uses "markdown"). +SCRIPT_NAME = 'markdown_py' + + long_description = ''' This is a Python implementation of John Gruber's Markdown_. It is almost completely compliant with the reference implementation, @@ -67,7 +72,7 @@ setup( packages=['markdown', 'markdown.extensions'], entry_points={ 'console_scripts': [ - 'markdown = markdown.__main__:run', + '%s = markdown.__main__:run' % SCRIPT_NAME, ] }, classifiers=[ -- cgit v1.2.3