Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #54160

Re: How to display ReST properly on pypi?

References <950cde69-932e-4ba2-b473-c7f7e9892e2d@googlegroups.com>
Date 2013-09-14 11:53 +0200
Subject Re: How to display ReST properly on pypi?
From Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.374.1379152396.5461.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, Sep 14, 2013 at 11:08 AM, Michel Albert <exhuma@gmail.com> wrote:
> In general, I write my README files using the ReST syntax. But when I do, they don't show up formatted on pypi (see for example https://pypi.python.org/pypi/config_resolver/3.3.0).
>
> How do I get it to be formatted properly?
>
> Also, is there a way to specify that the "description" field in setup.py is formatted as ReST?
> --
> https://mail.python.org/mailman/listinfo/python-list

rst2html crashes with your file.  Also, `py:class` is Sphinx-only and
won’t work with the Cheeseshop and produce garbage in the output.

[kwpolska@kwpolska-lin config_resolver-3.3.0]% rst2html README.rst
README.rst:67: (WARNING/2) Inline emphasis start-string without end-string.
README.rst:108: (ERROR/3) Unknown interpreted text role "py:class".
README.rst:115: (ERROR/3) Unknown interpreted text role "py:class".
README.rst:121: (ERROR/3) Unknown interpreted text role "py:class".
README.rst:142: (SEVERE/4) Problems with "include" directive path:
InputError: [Errno 2] No such file or directory: 'CHANGES'.
Exiting due to level-4 (SEVERE) system message.
[kwpolska@kwpolska-lin config_resolver-3.3.0]% echo $?
1
[kwpolska@kwpolska-lin config_resolver-3.3.0]%

-- 
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to display ReST properly on pypi? Michel Albert <exhuma@gmail.com> - 2013-09-14 02:08 -0700
  Re: How to display ReST properly on pypi? Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-09-14 11:53 +0200
    Re: How to display ReST properly on pypi? Michel Albert <exhuma@gmail.com> - 2013-09-14 03:02 -0700

csiph-web