From owner-freebsd-python@FreeBSD.ORG Wed Sep 26 09:14:37 2012 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 090271065670; Wed, 26 Sep 2012 09:14:37 +0000 (UTC) (envelope-from demon@FreeBSD.org) Received: from dinosaur.yandex.ru (dinosaur.yandex.ru [77.88.34.8]) by mx1.freebsd.org (Postfix) with ESMTP id AD5268FC1A; Wed, 26 Sep 2012 09:14:36 +0000 (UTC) Received: from dhcp175-40-red.yandex.net (dhcp175-40-red.yandex.net [95.108.175.40]) by dinosaur.yandex.ru (Postfix) with ESMTP id 3XRYPk57bjz2psT; Wed, 26 Sep 2012 13:14:34 +0400 (MSK) Message-ID: <5062C769.6090305@FreeBSD.org> Date: Wed, 26 Sep 2012 13:14:17 +0400 From: Dmitry Sivachenko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120903 Thunderbird/15.0 MIME-Version: 1.0 To: Ruslan Mahmatkhanov References: <5062AAEA.4000401@FreeBSD.org> <5062C5CB.4060109@yandex.ru> In-Reply-To: <5062C5CB.4060109@yandex.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Dmitry Sivachenko , python@freebsd.org, Chris Rees Subject: Re: bin/python3 symlink for python3X ports X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2012 09:14:37 -0000 On 26.09.2012 13:07, Ruslan Mahmatkhanov wrote: > Chris Rees wrote on 26.09.2012 13:03: >> On 26 Sep 2012 08:13, "Dmitry Sivachenko" wrote: >>> >>> Hello! >>> >>> It is common to have both python-2 and python-3 packages installed. >>> To help transition it is convenient to have bin/python to point to >> python-2 binary. >>> >>> Now for every X in python3X we have a bin/python3.X binary. >>> >>> So for every new python3.X release one should change shebang line in >> scripts. >>> >>> I propose to tweak python3X ports so they create bin/python3 symlink >> pointing to the installed python3.X binary so that people can always use >> 'python3' name. >>> >>> What do you think? >> >> I think it's a great idea, at least minimising weird breakage when python >> is updated. >> >> Have you a patch? Also, what do other OSes do? >> I don't have a patch but I can make one if you like. I don't use other OSes so I have no idea what do they do with that problem and I don't see any reason why should we bother...