Created
December 8, 2015 05:49
-
-
Save mfcovington/112c355cf41c68caab43 to your computer and use it in GitHub Desktop.
Convert README.md into reStructuredText
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From: https://bitbucket.org/pypa/pypi/issues/148/support-markdown-for-readmes#comment-23875412 | |
import setuptools | |
import pypandoc | |
long_description = pypandoc.convert('README.md', 'rst') | |
setuptools.setup( | |
name='example', | |
version=find_version('example.py'), | |
long_description=long_description, | |
... | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment