[MathDOM] Re: Packaging MathDOM, patching lxml
Brought to you by:
scoder
From: Stefan B. <beh...@gk...> - 2005-11-04 08:21:06
|
Stefan Behnel wrote: > I may consider changing setup.py to check for their availability, too. That > would make it easier for maintainers to split up the package. If you do that, > I'd really appreciate it if you provided both packages, though. > > If it fits the package naming convention, you may call them > > python-mathdom-lxml > and > python-mathdom-pyxml > and the complete package > python-mathdom > > or something in that line. The setup.py in the current CVS version now has a couple of configuration options that should help packagers: ----------------- # python setup.py --help-mathdom MathDOM package install options: --name=XXX : force package name to XXX --contrib-lxml : include lxml sources in 'contrib/lxml/' (False) --no-contrib-lxml : do not include lxml sources --require-imports : check if required packages are installed (False) --no-require-imports : do not check installation --pyxml : build *only* 'mathdom-pyxml' package --lxml : build *only* 'mathdom-lxml' package Current build config : lxml (True), pyxml (True), forced name (None) ----------------- You can checkout my lxml branch (see README) into "contrib/lxml/" in the MathDOM source directory and have it included automatically using "--contrib-lxml". It is not built automatically, though. Is that ok for you? Stefan |