[PATCH 0 of 3 RFC]Use distutils to build documentation

Dan Villiom Podlaski Christiansen danchr at gmail.com
Tue Nov 17 15:36:41 CST 2009


Hi,

This is a patch series which lets distutils generate the
documentation. There are two main advantages of this:
1) the documentation will be included in any `egg' built using
   distutils.
2) using distutils is *much* more robust and portable than Make. Not
   only is distutils pretty much the same everywhere, but we also
   remove any dependancy on what the Python executable might be
   called.

I haven't touched the Makefile, yet. I don't think the patches are
ready for inclusion; I provide them here for commentary and feedback.

2009-11-05  Dan Villiom Podlaski Christiansen  <danchr at gmail.com>

	* setup.py:
	setup: don't override install_data for package data.

	Currently, the 'install_data' option is overridden and set from the
	'install_lib' option. This prevents installing anything other than
	package data; use a separate 'package_data_files' field on the
	distribution instead.
	[40a9bb89ffbf] [install-dirs.diff]

2009-11-09  Dan Villiom Podlaski Christiansen  <danchr at gmail.com>

	* contrib/bash_completion, contrib/completion/bash/hg,
	contrib/completion/zsh/_hg, contrib/zsh_completion, setup.py:
	setup: install some useful data files.
	[9cf85ff4e601] [install-data.diff]

2009-11-09  Dan Villiom Podlaski Christiansen  <danchr at gmail.com>

	* doc/__init__.py, setup.py:
	setup: install & build documentation using docutils.
	[a1ec03ca952b] [install-documentation.diff]



More information about the Mercurial-devel mailing list