def install(createpdf, options):
    LazyImports.pdfinfo = pdfrw
    rst2pdf.image.VectorPdf = VectorPdf
Monkey-patch this PDF handling into rst2pdf
dataset/ETHPy150Open rst2pdf/rst2pdf/rst2pdf/extensions/vectorpdf_r2p.py/install