Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jun 2012 16:14:07 +0400
From:      Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        python@FreeBSD.org
Subject:   Re: Python conflicting with other python when installed from packages
Message-ID:  <4FCDF80F.3070304@yandex.ru>
In-Reply-To: <20120605120755.GA71005@ithaqua.etoilebsd.net>
References:  <20120605120755.GA71005@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Baptiste Daroussin wrote on 05.06.2012 16:07:
> Hi,
>
> With pkgng build on pointyhat I discovered that all the python packages when
> built on pointyhat, tinderbox or even poudriere all conflicts which each other
> meaning you can't install multiple python version in parallel without
> overwritting files with old package system and pkgng just forbid you to install
> the second package to avoid overwritting the file.
>
> The thing is that they are conflicting only for the bin/2to3 file. It would be
> nice if this file could be for example prefixed with the release of python like:
>
> bin/py27-2to3 or something like that. I'm aware that when just installing from
> ports only the first version of python installed got it, but if you are thinking
> in package only world it can't works that way.
>
> regards,
> Bapt

Packages that using 2to3 to convert their code on install to be python3 
compatible looking exactly for `2to3' executable. So such a modification 
would require modifying all the setup.py's according the python version 
user has installed as default. It's just a though. I didn't see how to 
resolve this correctly.

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FCDF80F.3070304>