msabramo / setuptools-markdown

Use Markdown for your project description
MIT License
28 stars 8 forks source link

Fail gracefully if pandoc not present #6

Closed posborne closed 9 years ago

posborne commented 9 years ago

This library is a great idea. I have had my own code copied between a bunch of projects that works similarly. This is much more compact.

One problem, however, is that setup fails hard if pandoc is not installed. Obviously, this is required to properly convert between formats, but I think the right thing to do is to warn rather than failing. Here's one instance of a failure: https://travis-ci.org/posborne/cmsis-svd/jobs/66494752

Here's the code I have been using that warns instead of failing. Note that I include README.md with MANIFEST.in: https://github.com/posborne/cmsis-svd/blob/master/python/setup.py#L34

posborne commented 9 years ago

This appears to be an issue with pypandoc: https://github.com/bebraw/pypandoc/issues/70

posborne commented 9 years ago

This is fixed in pypandoc upstream now: https://github.com/bebraw/pypandoc/pull/71 and in release 1.0.5