buildtools: add Python pmdinfogen