[PATCH 0 of 3] rst2man polish

Martin Geisler mg at lazybytes.net
Thu Aug 27 05:21:36 CDT 2009


Dan Villiom Podlaski Christiansen <danchr at gmail.com> writes:

> On 27/08/2009, at 09.52, Martin Geisler wrote:
>
>> In our case we're even talking about a component which is not critical
>> for using Mercurial (and most of the manpages are from 'hg help') and
>> which is readily available online.
>
> Does that include the ‘hgrc’ documentation?

No, but it's here:

  http://www.selenic.com/mercurial/hgrc.5.html

> Would you or Mads perhaps take a look at the patch I posted Saturday?
> [1] Among other things, it allows us to build the documentation using
> distutils.

I don't see it as a step forward that you have re-implemented (part of)
the Makefile (49 lines) in setup.py with a patch of 120+ lines.

As it is now, the setup.py file is for building the Python code and
installing it into your site-packages directory. In my opinion, setup.py
files are good at doing exactly that.

The Makefiles are used if you want to build "the rest", that is man and
HTML pages.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.



More information about the Mercurial-devel mailing list