Path: csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'python,': 0.02; 'yet.': 0.04; 'distutils': 0.07; 'idea?': 0.09; 'cc:addr:python-list': 0.11; '(when': 0.16; 'cc:name:python list': 0.16; 'libraries.': 0.16; 'preparing': 0.16; 'subject:howto': 0.16; 'wrote:': 0.18; 'properly': 0.19; 'cc:addr:python.org': 0.22; 'module,': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'room': 0.29; 'url:code': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'subject:programs': 0.31; 'charge': 0.33; 'checking': 0.33; 'skip:d 20': 0.34; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'clear': 0.37; 'tasks': 0.38; 'how': 0.40; 'first': 0.61; 'url:p': 0.64; 'to:addr:gmail.com': 0.65; 'computers': 0.72; 'you:': 0.81; 'oscar': 0.84; 'subject:check': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=CHJv+69oko+159dQzvyQRWs5qWUQ1hlDznVqEyN0hkI=; b=Zk2j7r1lkb9mv9MxoSCWP3DwlXhDgCojbKdKJFoq1oe8fV4D0/JLxX/HnAvIzhSvfJ QrMpz2tWryJMgDuc0k+5rTg/CWv9LFiYsK52YpRz0U3h7bKjCa70gIhzfXVl37zcXFTk NnYDX++g+EN9yGIirpCE/BQSa4oDX8IsXOrM0FISAeTUIY/wkFClTkUTtZwplHWR7R9n t28Eu1+eAHdWQvYKaxBRzzC1taf72wnZP5DRYEY4nBZKomR6toiRzZpkmjzTnxtlk1Kz yNN6Zcw25IsK9ZYwD/asY46Ta5sj7Mg+PDXXnzQR+qvPeLOvlLHDcQAncXslIXwwsKjf fruA== X-Received: by 10.58.67.9 with SMTP id j9mr11525227vet.3.1380879644670; Fri, 04 Oct 2013 02:40:44 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Oscar Benjamin Date: Fri, 4 Oct 2013 10:40:24 +0100 Subject: Re: howto check programs and C libraries To: David Palao Content-Type: text/plain; charset=ISO-8859-1 Cc: Python List X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380879654 news.xs4all.nl 15894 [2001:888:2000:d::a6]:43822 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:55461 On 4 October 2013 10:30, David Palao wrote: > Hello, > I'm in charge of preparing a computer room for the practices of > "introduction to programming". > One of the tasks is checking that from all the computers in the room > one can execute some programs and link (and compile) against some > libraries. > My first idea was using Autotools (or cmake), but as I'm a big fan of > python, I was thinking how to do that with python, and I don't have a > clear solution yet. > I know that distutils includes the distutils.command.config module, > and I think it could do the job (when properly subclassed). > Do you have a better idea? I'm not very experienced with it but perhaps waf would be better for you: https://code.google.com/p/waf/ Oscar