diff options
author | Dmitry Shachnev <mitya57@gmail.com> | 2017-12-10 14:52:48 +0300 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2017-12-10 16:53:36 -0500 |
commit | 1edbb9dcb998966e43e02f5e345fe3d08c0307dc (patch) | |
tree | 6476efe6bbf09caa5208075ce170921c75f0dcb0 | |
parent | 54bf6d6369274e8ec0e040d5287038b1cc92329c (diff) | |
download | markdown-1edbb9dcb998966e43e02f5e345fe3d08c0307dc.tar.gz markdown-1edbb9dcb998966e43e02f5e345fe3d08c0307dc.tar.bz2 markdown-1edbb9dcb998966e43e02f5e345fe3d08c0307dc.zip |
Restore code to use markdown_py as the console script name.
-rwxr-xr-x | setup.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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=[ |