Dealing with 2.7 and 3.3 installations

Marcus von Appen mva at freebsd.org
Mon Jul 29 09:05:39 UTC 2013


Zitat von David Demelier <demelier.david at gmail.com>:

> Hello,
>
> At the moment, it's very hard to install python 2.7 and 3.3 because of
> the unification of the python ports. Also, pkgng will not let the user
> install both the 2.7 and 3.3 version of the interpreter because it
> will conflicts on several files such as /usr/local/bin/python for
> example.

This sounds like a pkgng issue to me with building lang/python the wrong way.
Should be discussed with pkgng@ separately.

> What I would like to propose, is to remove the non-versioned  
> binaries such as :
>
> /usr/local/bin/2to3
> /usr/local/bin/python
> /usr/local/bin/python-config
>
> This should completely be removed from every version's pkg-plist. Then
> we can create temporarly symlink in the pkg-install script if they are
> not present.

This is what /usr/ports/lang/python does. I do not see a problem here.

> This will allow the installation of python 3.3 and python 2.7 at the  
> same time.

This is already possible (see my post on ports@).

Cheers
Marcus



More information about the freebsd-python mailing list