Generating a .pc file using distutils
d at davea.name
Sun Feb 12 18:32:46 EST 2012
On 02/12/2012 06:04 PM, Tycho Andersen wrote:
> 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 .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)?
Bumping a message (especially using top-posting) seldom does much good
unless you also supply some more information to either catch people's
attention, or even better, remind them of something they know that might
So you could have said:
A .pc file is "lijfds;lkjds;fdsjfds;ljfds;ljfds;ljfd" and I need to
produce it in the "slf;lfdsjfds;l;lkjfds;lj" circumstances.
Or, a .pc file is described on the wiki page at link
Or even "I tried to get more information on the comp.lang.pc newsgroup,
but nobody there will give me the time of day.
As it is, the only thing I could do is point you to the only other
keyword in your message: Try on a support forum for distutils.
More information about the Python-list