Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 11:47:28 +0100
From:      David Demelier <demelier.david@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: manage libraries for multiple parallel python versions
Message-ID:  <52DFA1C0.9030404@gmail.com>
In-Reply-To: <CACxAsm73R-HK178veS0BzrtrEK9iW4hdMWP_k=KX2Kgk9aO9yg@mail.gmail.com>
References:  <CACxAsm73R-HK178veS0BzrtrEK9iW4hdMWP_k=KX2Kgk9aO9yg@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

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.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?52DFA1C0.9030404>