Skip to content

Commit

Permalink
Restore code to use markdown_py as the console script name.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitya57 authored and waylan committed Dec 10, 2017
1 parent 54bf6d6 commit 1edbb9d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -67,7 +72,7 @@ def get_version():
packages=['markdown', 'markdown.extensions'],
entry_points={
'console_scripts': [
'markdown = markdown.__main__:run',
'%s = markdown.__main__:run' % SCRIPT_NAME,
]
},
classifiers=[
Expand Down

0 comments on commit 1edbb9d

Please sign in to comment.