ietf-tools / xml2rfc

Generate RFCs and IETF drafts from document source in XML according to the IETF xml2rfc v2 and v3 vocabularies
https://ietf-tools.github.io/xml2rfc/
BSD 3-Clause "New" or "Revised" License
63 stars 35 forks source link

When weasyprint is not installed xml2rfc produces a log message #1091

Closed kesara closed 5 months ago

kesara commented 5 months ago

Describe the issue

This issue is related to https://github.com/ietf-tools/xml2rfc/pull/1079

When weasyprint is not present, xml2rfc produces a log message: On Python 3.11:

$ xml2rfc --text --html draft-foobar-00.xml
 Created file draft-foobar-00.txt
No package metadata was found for weasyprint
 Created file draft-foobar-00.html

or something like:

   xml2rfc draft-ietf-lsvr-l3dl.xml --html --text
     Created file draft-ietf-lsvr-l3dl.txt
    weasyprint
     Created file draft-ietf-lsvr-l3dl.html

Code of Conduct