Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed20.multikabel.net!amsnews11.chello.com!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:using': 0.04; 'passes': 0.05; '(given': 0.09; '--prefix': 0.09; 'parsing': 0.09; 'received:209.85.160.174': 0.09; 'received:mail- gy0-f174.google.com': 0.09; 'subject:distutils': 0.09; 'subject:file': 0.13; '(besides': 0.16; 'thanks,': 0.18; 'subject: .': 0.28; 'header:User-Agent:1': 0.33; 'to:addr:python-list': 0.33; 'there': 0.33; 'received:209.85.160': 0.35; 'file': 0.35; 'charset:us-ascii': 0.36; "there's": 0.37; 'received:google.com': 0.37; 'using': 0.37; 'not,': 0.37; 'some': 0.38; 'received:209.85': 0.38; 'received:209': 0.39; 'to:addr:python.org': 0.40; 'similar)': 0.84 Date: Mon, 23 Jan 2012 17:31:20 -0600 From: Tycho Andersen To: python-list@python.org Subject: Generating a .pc file using distutils MIME-Version: 1.0 User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQmcf4PkWE39ySHLr4ymotim0w7fzJIQk0Z56CU/JvTOE4JPl6OVyAaejw76jGkJLFdyh34T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1327361493 news.xs4all.nl 6943 [2001:888:2000:d::a6]:48853 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:19299 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