Generating a .pc file using distutils

Tycho Andersen tycho at
Mon Feb 13 00:04:07 CET 2012

Just re-bumping this - I am fiddling with this code again and it's
gross, so any input would be greatly appreciated :-)


On Mon, Jan 23, 2012 at 05:31:20PM -0600, Tycho Andersen wrote:
> Is there some standard way to generate a .pc file (given a or
> similar) using distutils?
> If there's not, is there a good way to access whatever the user passes
> in as --prefix (besides parsing sys.argv yourself)?
> Thanks,
> \t

More information about the Python-list mailing list