aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2017-12-10 14:52:48 +0300
committerWaylan Limberg <waylan.limberg@icloud.com>2017-12-10 16:53:36 -0500
commit1edbb9dcb998966e43e02f5e345fe3d08c0307dc (patch)
tree6476efe6bbf09caa5208075ce170921c75f0dcb0
parent54bf6d6369274e8ec0e040d5287038b1cc92329c (diff)
downloadmarkdown-1edbb9dcb998966e43e02f5e345fe3d08c0307dc.tar.gz
markdown-1edbb9dcb998966e43e02f5e345fe3d08c0307dc.tar.bz2
markdown-1edbb9dcb998966e43e02f5e345fe3d08c0307dc.zip
Restore code to use markdown_py as the console script name.
-rwxr-xr-xsetup.py7
1 files changed, 6 insertions, 1 deletions
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=[