generate python icons at build time