This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: OS X Installer: by default install versioned-only links in /usr/local/bin for 3.x
Type: Stage:
Components: Installation Versions: Python 3.1
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: ned.deily, ronaldoussoren
Priority: normal Keywords:

Created on 2009-04-01 16:52 by ned.deily, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch-nad0022-py3k.txt ned.deily, 2009-04-01 16:52
Messages (4)
msg85049 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2009-04-01 16:52
For 3.0, the OS X installer was changed to disable the default 
installation of the Unix Command Line Tools package, the package that 
installs links in /usr/local/bin to the corresponding entries in the 
framework bin directory.  The intent was to follow the practice of other 
Python 3.x installers to ensure that python 2.x and python 3.x could co-
exist.  However, with the framework structure of OS X python, each 
python version has its own bin directory and the lack of 3.x links in 
/usr/local/bin has led to some user confusion.

This patch modifies the OS X installer for 3.x to again re-enable the 
Unix Command Line Tools package by default but to only install versioned 
links into /usr/local/bin (i.e. /usr/local/bin/python3.1) but not 
disturbed any unversioned links (i.e. /usr/local/bin/python will 
continue to point to an installed python2.x).  The only exception is 
that 3.x will install a /usr/local/bin link to its 2to3, which is 
currently not versioned.  The framework bin directory is unchanged and 
contains both versioned and unversioned links.
msg88308 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2009-05-25 08:32
With the recent py3k changes to ensure that the bin directory only has 
versioned file names (and 2to3), the submitted patch can be simplified as 
the file name check is no longer needed.  Re-enabling the Unix Command 
Line Tools package by default is still appropriate, particularly now that 
there are no conflicts in /usr/local/bin between py2 and py3 file names 
(other than 2to3 which is OK).
msg88385 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2009-05-26 19:00
Good point, especially because the file in /usr/local/bin seem to be how a 
lot of users still use the framework.

I'm committing a patch later today (which will include properly installing 
2to3 in a framework build)
msg88391 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2009-05-26 21:19
Checked in a fix for this in r72947.
History
Date User Action Args
2022-04-11 14:56:47adminsetgithub: 49903
2009-05-26 21:19:53ronaldoussorensetstatus: open -> closed
resolution: fixed
2009-05-26 21:19:39ronaldoussorensetmessages: + msg88391
2009-05-26 19:00:02ronaldoussorensetmessages: + msg88385
2009-05-25 08:32:20ned.deilysetmessages: + msg88308
2009-04-01 16:52:54ned.deilycreate