manage libraries for multiple parallel python versions

David Demelier demelier.david at
Wed Jan 22 10:47:35 UTC 2014

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 at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

>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).



More information about the freebsd-questions mailing list