elifesciences / elife-tools

Python library for parsing eLife article XML data.
MIT License
15 stars 7 forks source link

Set long_description_content_type in setup.py #345

Closed gnott closed 3 years ago

gnott commented 3 years ago

In preparation to automate the publishing of new versioned releases, as depicted in the repo https://github.com/elifesciences/dummy-python-release-project.

If the long_description_content_type value is not specified in the setup.py file, then a warning is printed when trying to run the release logic bash shell script, and as a result it exits at that point and does not finish.

Set the value long_description_content_type="text/x-rst" for now, because currently the readme file is in RST format.

I will bump the patch version of this library from 0.6.0 to 0.6.1, since it affects the setup file, but everything else is functionally the same.