amyreese / markdown-pp

Preprocessor for Markdown files to generate a table of contents and other documentation needs
MIT License
309 stars 68 forks source link

Changed from script to console script to support Windows #20

Closed kennethkau closed 7 years ago

kennethkau commented 8 years ago

markdown-pp command doesn't work in Windows as it isn't an .exe file. Changing from scripts to console_scripts entry point enables cross-platform compatibility.

Changes include adding an init.py in the bin folder, renaming markdown-pp file to markdown_pp.py, adding the main() function in markdown_pp.py, and editing setup.py to use console_scripts instead of scripts.

twardoch commented 7 years ago

+1 on this

amyreese commented 7 years ago

Manually squashed, rebased, and merged this branch to master.