Skip to content

Commit 1edbb9d

Browse files
mitya57waylan
authored andcommitted
Restore code to use markdown_py as the console script name.
1 parent 54bf6d6 commit 1edbb9d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ def get_version():
3030
version, version_info, DEVSTATUS = get_version()
3131

3232

33+
# The command line script name. Currently set to "markdown_py" so as not to
34+
# conflict with the perl implimentation (which uses "markdown").
35+
SCRIPT_NAME = 'markdown_py'
36+
37+
3338
long_description = '''
3439
This is a Python implementation of John Gruber's Markdown_.
3540
It is almost completely compliant with the reference implementation,
@@ -67,7 +72,7 @@ def get_version():
6772
packages=['markdown', 'markdown.extensions'],
6873
entry_points={
6974
'console_scripts': [
70-
'markdown = markdown.__main__:run',
75+
'%s = markdown.__main__:run' % SCRIPT_NAME,
7176
]
7277
},
7378
classifiers=[

0 commit comments

Comments
 (0)