From owner-freebsd-questions@FreeBSD.ORG Wed Jan 22 10:47:35 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 74F38A4E for ; Wed, 22 Jan 2014 10:47:35 +0000 (UTC) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 048C81A06 for ; Wed, 22 Jan 2014 10:47:34 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id n12so178655wgh.24 for ; Wed, 22 Jan 2014 02:47:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=PBARs9OFzMdtWdKoYXMbDybe8Tykif1yaHAYh7Arg/M=; b=Ck/3I6McxTqJ9h2T5ACtQGk6jyoOWpj4Q69fjdlc2qQtVnMRwnkyBc/+dCEMtZgmcE opzB8Hv2GFIOvw7OYwRZF1tD/Kp9xyhtNBYFoUwa2+wcCg5yD8ZWlVIOxrkVHI6YNI0T 18QrfiHfM4gsR3MdkMNKmMb9UxjzjYQB3++O1Ivp6UhKgjiYG0+Lqe8FWUHP6bZuRQ2G gXG5EoRi0O28R0lVneTmoNtPQnspQ4xCBs5fT50QQD4mUD6rETlLeBNnpENt2/3G0d0z SuNsD64v5uRipSXn5Grb03GSmy4G90ut7s7MM7mlIYCEt+6nvYltruYewFb+CIezKIqC 82TA== X-Received: by 10.180.91.17 with SMTP id ca17mr19107676wib.41.1390387652618; Wed, 22 Jan 2014 02:47:32 -0800 (PST) Received: from [10.0.2.15] (LNantes-156-74-19-50.w82-127.abo.wanadoo.fr. [82.127.90.50]) by mx.google.com with ESMTPSA id dd3sm13972662wjb.9.2014.01.22.02.47.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jan 2014 02:47:31 -0800 (PST) Message-ID: <52DFA1C0.9030404@gmail.com> Date: Wed, 22 Jan 2014 11:47:28 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: manage libraries for multiple parallel python versions References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2014 10:47:35 -0000 On 14/01/2014 12:35, till plewe wrote: > Are there any simple (stable) methods to manage python libraries for > multiple python versions in parallel? > > What I have in mind is something like: > > $ setenv PYTHON_VERSIONS "2.7,3.2,3.3" > $ cd /usr/ports/devel/py-ply > $ make install clean > > installing three separate versions of py-ply. > > - Till > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >From ports it's possible by setting WITH_PYTHON_VERION=python2.7 make install in your port directory or WITH_PYTHON_VERSION=python3.3. However from binary packages it is not currently possible see [1]. So you can test: cd /usr/ports/devel/py-ply make WITH_PYTHON_VERSION=python2.7 install clean make WITH_PYTHON_VERSION=python3.3 install clean (I never tried myself). [1] https://github.com/freebsd/pkg/issues/582 Regards, David.