Path: csiph.com!usenet.pasdenom.info!news.franciliens.net!news.muarf.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'yet.': 0.04; 'distutils': 0.07; 'idea?': 0.09; 'mind,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'suggest': 0.14; '(when': 0.16; 'libraries.': 0.16; 'preparing': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:howto': 0.16; 'wrote:': 0.18; 'properly': 0.19; 'separate': 0.22; 'header:User-Agent:1': 0.23; 'module,': 0.24; '(or': 0.24; 'header:X-Complaints-To:1': 0.27; 'idea': 0.28; 'room': 0.29; "i'm": 0.30; 'assumes': 0.31; 'subject:programs': 0.31; 'run': 0.32; 'charge': 0.33; 'checking': 0.33; 'copying': 0.34; 'skip:d 20': 0.34; "i'd": 0.34; 'could': 0.34; 'tool': 0.35; 'but': 0.35; 'really': 0.36; 'charset:us-ascii': 0.36; 'clear': 0.37; 'tasks': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'received:org': 0.40; 'how': 0.40; 'hardware': 0.61; 'first': 0.61; 'close': 0.67; 'computers': 0.72; 'presumably': 0.84; 'subject:check': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dave Angel Subject: Re: howto check programs and C libraries Date: Fri, 4 Oct 2013 11:15:21 +0000 (UTC) References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: 174.32.174.29 User-Agent: XPN/1.2.6 (Street Spirit ; Linux) 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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380885344 news.xs4all.nl 15885 [2001:888:2000:d::a6]:34510 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:55474 On 4/10/2013 05: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 don't have any specific tool in mind, but I'd suggest that you really need to run the tool on only one of the machines, and run a separate tool on them all that assures that they are identical, presumably made that way by wiping each and copying from a master That assumes the hardware is close enough to identical to make this practical. -- DaveA