python-djvulibre is a set of Python bindings for the DjVuLibre library, an open source implementation of DjVu.
The following software is required to build python-djvulibre:
- DjVuLibre (≥ 3.5.26)
- Python (≥ 3.6)
- Cython (≥ 0.28)
- pkg-config (required on POSIX systems)
Additionally, the following software is needed to run the tests:
- DjVuLibre command-line tools
- Ghostscript
This repository is a Python3-only version of the original repository.
Due to the upstream repository having been archived (Issue #23), this fork will now be maintained on its own. Please note that I do not have any plans on implementing completely new features for now. Nevertheless, I am going to try to keep this fork working for at least the parts which I actually use on a regular basis (as part of ocrodjvu).
- Package requires Python ≥ 3.6.
- Conform to PEP8 coding style.
- Refactor build to not use the deprecated distutils module any more.
- Drop support for building the package on Windows. I do not use it there and there have not been automated tests for it. If someone wants to get this back to work and help maintaining it, feel free to open an issue.
- Add support for Cython 3.0, while dropping some old backwards-compatibility code.
python-djvulibre development was supported by the Polish Ministry of Science and Higher Education's grant no. N N519 384036 (2009–2012, https://bitbucket.org/jsbien/ndt).