nimbis / cmsplugin-forms-builder

A django-forms-builder plugin for django-cms
BSD 3-Clause "New" or "Revised" License
15 stars 13 forks source link

README.md must be reStructuredText (README.rst) for PyPI #8

Open bittner opened 8 years ago

bittner commented 8 years ago

The current README is not displayed correctly on PyPI. The reason is that PyPI expects reStructuredText, which it then converts to HTML.

You'll have to refactor your README.md to README.rst. Not a big deal, but it should be done (also the two first images being referred to don't exist any more, or the URL is broken).

bittner commented 7 years ago

Alternatively, you can use pypandoc to convert README.md to reStructuredText on-the-fly when creating and uploading a dist.

# -- FILE: setup.py
from pypandoc import convert

setup(
    name='cmsplugin-forms-builder',
    # ...
    # generate reStructuredText upon `python setup.py sdist upload`:
    long_description=convert('README.md', 'rst'),
)

See djangocms-cascade (setup.py) for a working example.

ericamador commented 7 years ago

Thanks for the recommendation. I'll test out pypandoc with the next release.