Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2013 14:11:33 +0200
From:      Marcus von Appen <mva@freebsd.org>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        David Demelier <demelier.david@gmail.com>, bapt@freebsd.org, koobs@freebsd.org, freebsd-python@freebsd.org
Subject:   Re: Dealing with 2.7 and 3.3 installations
Message-ID:  <20130730141133.Horde.0f8kjfhXWCzbnDRbbd9DvA1@webmail.df.eu>
In-Reply-To: <E1V47O1-0001rY-4E@kabab.cs.huji.ac.il>
References:  <CAO%2BPfDdfdhfnyTi0sJzvbJA0GLnOB=3dNme0gn6uhnenzUcjaQ@mail.gmail.com> <20130730095456.Horde.XlxQMdj5YU1hIxf6WAYZOQ2@webmail.df.eu> <E1V460a-0000VO-7t@kabab.cs.huji.ac.il> <20130730115536.Horde.hJnU1JcPQIOJUsZ_wn7oOw9@webmail.df.eu> <E1V47O1-0001rY-4E@kabab.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Braniss <danny@cs.huji.ac.il>:

[...]
>
>>
>> So what you need is support for a python module installed for two different
>> python versions at the same time, correct? And this (right now) is not
>> supported, I am afraid.
>
> as I explained, probably not too well, the problem is in the install from
> ports. the check for the installed  modules does not check, or
> incorrectly checks for the desired version.

That's understood quite well, the (big) problem however are not the  
site-packages,
but other data installed e.g. under /usr/local/share, .../bin, .../wherever,
which currently does not necessarily take the python version into account.

x11-toolkits/py-gtk2 is a good example for such an issue. If you install it
for python2.7 , there are heaps of files, which would conflict/overwrite a
previous python3.2/3.3 installation and vice versa, making the port  
unusable for
all your python installations except one (in the worst case).

> setting FORCE_PKG_REGISTER is a workaround, because it does not
> do any deinstall.

It only is for ports, which keep everything in site-packages or are at least
python-version aware.

Cheers
Marcus




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130730141133.Horde.0f8kjfhXWCzbnDRbbd9DvA1>