Kovid Goyal
eb78a761a9
Automated upgrade of code to python 3.7+
...
Done by https://github.com/asottile/pyupgrade
Consists mainly of moving string formatting to f-strings and removing
encoding declarations
2022-01-08 11:47:40 +05:30
Kovid Goyal
9ff27782de
Remove useless __future__ imports
...
Not needed on python3
2020-08-22 18:47:55 +05:30
Kovid Goyal
29cd8d64ea
Change shebangs to python from python2
...
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30
Kovid Goyal
9d14bebafb
Fix str() and unicode_literals in odf package
2019-05-20 17:17:33 +05:30
Kovid Goyal
8366df8637
Run code quality checks on the odf package
2019-05-20 16:52:16 +05:30
Kovid Goyal
609892eb81
Run autopep8 on odf2xhtml
2019-05-20 16:14:07 +05:30
Kovid Goyal
ed1571af6e
py3: remove has_key from odf2xhtml
2019-05-20 16:12:42 +05:30
Kovid Goyal
b9a3e1952e
py3: misc fixes to make all module import
2019-04-04 15:15:51 +05:30
Kovid Goyal
2d21a8efa2
Some more fixes for the unicode type
...
Now replaced in all dynamically loaded code. Recipes/metadata
sources/etc. In the case of recipes, since they get compiled by calibre
we simply make the unicode/unichr names available, no need for any
changes to the actual recipes themselves.
2019-03-13 12:04:47 +05:30
Flaviu Tamas
0889ee85ec
Fix syntax errors
...
Command used:
futurize --no-diffs -f libfuturize.fixes.fix_print_with_import -f lib2to3.fixes.fix_throw -f lib2to3.fixes.fix_numliterals -f lib2to3.fixes.fix_except -f lib2to3.fixes.fix_exec -f lib2to3.fixes.fix_raise -f lib2to3.fixes.fix_tuple_params -f lib2to3.fixes.fix_ne -j20 -w -n setup recipes src manual setup.py recipes/*.recipe
And manual adjustments of print((...)) -> print(...)
2018-09-10 12:11:28 +05:30
Doug Newgard
7427823be5
Change rest of the shebangs to use python2
2015-07-12 12:41:28 -05:00
Kovid Goyal
02562da2a9
ODT input: Update odfpy library to latest version, adds support for bookmarks
2011-02-24 10:43:22 -07:00
Kovid Goyal
bd350e57ce
Update bundled odfpy
2010-02-15 17:31:16 -07:00
Kovid Goyal
c67818e604
Update bundled odfpy library for conversion of ODT files to version 0.9.2
2009-11-15 20:54:41 -07:00
Kovid Goyal
062fb907e3
Update odfpy (used to conver OpenOffice documents)
2009-04-19 16:32:18 -07:00
Kovid Goyal
323dfce595
Add support for the Open Document Format (ODT) as an input format. Can now be converted to both LRF and EPUB. Fixes #233 (ODT2LRF request)
2008-10-06 18:11:39 -07:00