brendonh / pyth

Python text markup and conversion
MIT License
89 stars 79 forks source link

pyth 0.7, with improved partial Python 3 port #44

Open prechelt opened 7 years ago

prechelt commented 7 years ago

Hi Brendon, this replaces PR https://github.com/brendonh/pyth/pull/33 and contains the same commits plus some more. I needed to move from the pyth.zip I had used for a long time in my setup to a more proper git dependency and decided to consider this a hint I should consolidate my pyth work some more.

test_readrtf15.py is now a reasonable set of tests with proper skipping and expectedFailures to indicate the state of the RTF reading functionality. This also exercises and hence co-tests the XHTMLWriter and PlaintextWriter and so also shows their functionality. This involves 18 new reference output test data files in tests/rtf-as-txt.
I have also reworked README (and turned it into README.md)

For my purposes, this is a satisfactory package. I have therefore set the version to 0.7 in setup.py and set the url to point to my fork. Feel free to adopt this version and release it to PyPI, although some compatibility testing on Python 2 would probably be a good idea before -- I have not done that.

There is plenty left to do before the package as a whole supports Python 3.
There is still more left to do in terms of functionality. No boredom anywhere in sight.