makempy takes Metapost output files (*.mpo) and translates them to *.mpy files. In order to include text as a graphic into a file typeset with (Con)TeX(t), you extract the text from Postscript of PDF files using pdftops and pstoedit, creating a Metapost input file.
This file can then be processed by makempy. The makempy script does its work without user intervention. When it deduces that there are no changes, it will not run at all, otherwise it will report its steps and/or encountered error.
When set, the environment variables GS and GS_PROG will be used to identify GHOSTSCRIPT. If needed, the names of the other programs that are used can be set with PDFTOPS, ACROREAD and PSTOEDIT.
texexec(1).