|
From: Matěj C. <mc...@ce...> - 2026-02-09 23:33:32
|
On Mon Feb 2, 2026 at 11:15 AM CET, Guenter Milde via Docutils-users wrote: > Did you try it? Yes, see `tests/`. > I was stopped by a missing dependency documentation (which "odg" package or > module is used?). https://pypi.org/project/odfpy/ … there is no other one, AFAIK. > Docutils currently can be installed without any dependency except Python. Yes, that’s a problem. I usually hate dependencies as well (see the long list of dependencies for M2Crypto, https://git.sr.ht/~mcepl/m2crypto/tree/master/item/setup.cfg ;)). We could make it into an optional dependency, but I think that manipulating OpenDocument files is such nasty business, that perhaps it is not out of the question. Patches to remove the dependency would be more than welcome, of course! > We may consider "light" dependencies for core services (like > "romannumerals" for rST parsing). However, adding a large dependency for > a rarely used feature like ODT export is not planned. > (We may provide SVG - ODT "on the fly" as an "optional" feature similar to > syntax highlighting with Pygments.) Yes, the RPM package is 1.4 MiB installed. I am not sure what’s The Right Thing™ here. Yeah, I think that some kind of `pip install docutils[odt]` could be helpful, but I am not much happier about it either. Best, Matěj -- http://matej.ceplovi.cz/blog/, @mc...@en... GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8 “Promise me you’ll look after yourself. … Stay out of trouble. …” “I always do, Mrs. Weasley,” said Harry. “I like a quiet life, you know me.” -- Harry Potter and the Half-Blood Prince, chapter 17 |