Generating a .pc file using distutils

Tycho Andersen tycho at tycho.ws
Sun Feb 12 18:04:07 EST 2012


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

\t

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 .pc.in 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