Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2016 23:50:34 +0100
From:      Marcus von Appen <mva@freebsd.org>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        ports@freebsd.org
Subject:   Re: Multiple versions of Python packages (2.7 vs 3.4)
Message-ID:  <20160316235034.Horde.NY_bOFQz5rvslwAl-tjuhw3@webmail.df.eu>
In-Reply-To: <56E95B02.8030502@quip.cz>
References:  <56E95B02.8030502@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help

Quoting Miroslav Lachman <000.fbsd@quip.cz>:

> I checked that most files are installed in versioned subdirectory,  
> for example python2.7/site-packages, some tools have versioned  
> binaries like /usr/local/bin/pip-2.7 but they have also symlink  
> /usr/local/bin/pip. Are there any way to create / install those  
> packages without creating this symlink?
> If I didn't miss something the symlinks are the only common files  
> for both versions so it will be overwritten by the later  
> installation or upgrade. Or not?

No, it won't. The symlink depends on the DEFAULT_VERSIONS entry in your
/etc/make.conf or the ports default. Right now Python 2.7 is the default
for the FreeBSD ports tree, so the symlinks are only created for Python 2.7.
If you install Python 3.4 or another version, they won't be overridden.

Cheers
Marcus




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160316235034.Horde.NY_bOFQz5rvslwAl-tjuhw3>