From 46e6064b2e5cb8838e3726ed6b7c967d2722513d Mon Sep 17 00:00:00 2001 From: Nikolay Edigaryev Date: Sat, 25 Nov 2017 20:51:35 +0500 Subject: [PATCH] Fix PyPI long description rendering Currently the rendering of gensim's reStructuredText description on PyPI is broken[1][2], because some characters aren't escaped properly[3]: >reStructuredText uses backslashes ("\") to override the special meaning >given to markup characters and get the literal characters themselves. >To get a literal backslash, use an escaped backslash ("\\"). [1]: https://pypi.python.org/pypi/gensim/3.1.0/ [2]: https://pypi.org/project/gensim/3.1.0/ [3]: http://docutils.sourceforge.net/docs/user/rst/quickref.html#escaping --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 503cbac485..6d5c3300e5 100644 --- a/setup.py +++ b/setup.py @@ -196,7 +196,7 @@ def finalize_options(self): @inproceedings{rehurek_lrec, title = {{Software Framework for Topic Modelling with Large Corpora}}, - author = {Radim {\v R}eh{\r u}{\v r}ek and Petr Sojka}, + author = {Radim {\\v R}eh{\\r u}{\\v r}ek and Petr Sojka}, booktitle = {{Proceedings of the LREC 2010 Workshop on New Challenges for NLP Frameworks}}, pages = {45--50},