Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Scott Kitterman Newsgroups: linux.debian.maint.python Subject: Re: pybuild: build for any one interpreter? Date: Fri, 21 Aug 2015 19:40:02 +0200 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Aug 21 17:32:27 2015 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.1 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5 Dkim-Signature: v=1; a=rsa-sha256; c=simple/simple; d=kitterman.com; s=201409; t=1440178500; bh=HDrKpVOaqvtL7KREIBxAd/kphhE01GroTsKemgT2shA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ocLBXVBEVNzqnTtWp4/5ttqwOA9c254qmM61eJ3bvL6rHiIHm0xVV7dYuyvkiaDVP AdU+h0aawKGHbhS1KbVh1aVUziC2UUFG1iUV9I2ly1vzX6mAOTVwSTZ8SnJqF92sEE BUyOpA8+8WwPbDaDJfRXdMT20/iPouK7pwe6bERc= User-Agent: KMail/4.13.3 (Linux/3.13.0-58-generic; KDE/4.13.3; x86_64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Mailing-List: archive/latest/12504 List-ID: List-URL: List-Archive: https://lists.debian.org/46462176.y2hTFG2F8s@kitterma-e6430 Approved: robomod@news.nic.it Lines: 15 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 21 Aug 2015 13:32:07 -0400 X-Original-Message-ID: <46462176.y2hTFG2F8s@kitterma-e6430> X-Original-References: <87zj1ksg9j.fsf@thinkpad.rath.org> Xref: csiph.com linux.debian.maint.python:7197 On Friday, August 21, 2015 10:28:08 AM Nikolaus Rath wrote: > Hello, > > I'd like to use pybuild for a Python application. Is there a way to tell > it to build with any *one* Python interpreter? The -p version always me > to select one specific interpreter, but it would be nice if I could tell > it to use whatever interpreter is available (but not all of them). > > Best, > -Nikolaus If you use the return value from pyversions/py3versions, I would imagine that would work. Scott K