pydigidoc statically links libdigidocpp (LGPL-2.1-or-later). Under LGPL Section 6, you have the right to modify libdigidocpp and rebuild pydigidoc with your changes.
- Python 3.10+
- CMake 3.20+
- SWIG 4.0+
- C++23 compiler (GCC 13+, Clang 16+, MSVC 2022+)
- OpenSSL 3.5+, libxml2, zlib, xmlsec1
# Extract the sdist (includes full libdigidocpp source)
tar xzf pydigidoc-*.tar.gz
cd pydigidoc-*
# Make your modifications to libdigidocpp/
# e.g., edit libdigidocpp/src/Container.cpp
# Rebuild
pip install build
python -m build --wheel
pip install dist/*.whlgit clone --recurse-submodules https://github.com/namespace-ee/pydigidoc.git
cd pydigidoc
# Make your modifications to the libdigidocpp/ submodule
# Rebuild
pip install build
python -m build --wheel
pip install dist/*.whl