[PATCH RFC] setup: build docs from setup.py

Matt Mackall mpm at selenic.com
Fri Jul 11 22:58:31 CDT 2014


On Fri, 2014-07-11 at 22:36 -0500, Kevin Bullock wrote:
> On Jul 10, 2014, at 3:51 AM, Matt Mackall <mpm at selenic.com> wrote:
> 
> > On Wed, 2014-07-09 at 11:37 -0500, Kevin Bullock wrote:
> >> # HG changeset patch
> >> # User Kevin Bullock <kbullock at ringworld.org>
> >> # Date 1404923562 18000
> >> #      Wed Jul 09 11:32:42 2014 -0500
> >> # Node ID 97d98ce9e84fdb788a21f38eb80abe51af52a858
> >> # Parent  5b8d2ba8dbdf8ef2aac257d28002ad1bcc4920f9
> >> setup: build docs from setup.py
> > 
> > What happens if the doc-building tools aren't installed?
> 
> Then setup.py would fail in the same way `make all` would, including a message telling the user to install docutils. Is that undesirable?

Well, it might mean 'make local' or 'make install-bin' don't work? Also,
since manpages don't matter on Windows, it'd be annoying if it started
complaining about the doc tools.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list