[issue18117] Missing symlink:Current after Mac OS X 3.3.2 package installation

2013-06-03 Thread Gavan Schneider

Gavan Schneider added the comment:

A lot of this is past my level but speaking from my level I just want packages 
to be consistent, i.e., if there is a symlink it should point to something 
(preferably useful) not dangle as is the case now.

Also I want an installed version to "look the same" no matter what version it 
might be. Specifically the version number should only occur once in the file 
tree. This then allows me to specify ***at the system level*** what I want when 
invoking (via a Current or similar link) my postgres and other build scripts, 
specifically so they don't need to be hand crafted just so they build against 
new new and latest install.

If I ever get to the stage where I am building to a specific version that's not 
the global selection I can do that by taking proper steps (but that's not what 
I usually want to do after installing a new version).

Continuing in the vein of one only mention of the version number in the package 
tree: why is there a python3.3 folder inside 
.../Pyton.framework/Versions/3.3/lib? Won't lib/Python3.4 stuff get put in its 
own Version?

As for the reluctance to rename the package for 3.4. Wont it be Python3 and the 
rename could just as logically be done for the current release:
  /Library/Frameworks/
Python.framework/... # all the Pyton 2 stuff
Python3.famework
  Versions
3.3/...
3.4/...
Current -> 3.4
...

Finally there seems to be a convention with all the other installed packages 
for a "Current" symlink (note especially Tcl/Tk) to do something useful within 
their respective "Versions" folder. Is it too much to suggest that Python just 
follow this convention (albeit with the package name changed to pyton3 to 
prevent potential conflicts)?

Anyway, please excuse my drifting so far from a simple report of a broken 
and/or missing installer link :)

Regards
Gavan Schneider

--

___
Python tracker 
<http://bugs.python.org/issue18117>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18117] Missing symlink:Current after Mac OS X 3.3.2 package installation

2013-06-02 Thread Gavan Schneider

Gavan Schneider added the comment:

Appreciate the comment about potential problems with mixed installations of 
python3 and python2. And note that along these lines there is no attempt by the 
installer to symlink python -> python3 (which could have nasty side effects if 
the full path was not specified in system applications).

However there is still a problem: the installer is creating three dead 
symlinks, which is not correct.

Agree putting Python3 into its own /Library/Frameworks/Python3.framework would 
be a better way to go.

--

___
Python tracker 
<http://bugs.python.org/issue18117>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18117] Missing symlink:Current after Mac OS X 3.3.2 package installation

2013-06-02 Thread Gavan Schneider

Changes by Gavan Schneider :


--
title: Missing symlink:Currnet after Mac OS X 3.3.2 package installation -> 
Missing symlink:Current after Mac OS X 3.3.2 package installation

___
Python tracker 
<http://bugs.python.org/issue18117>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18117] Missing symlink:Currnet after Mac OS X 3.3.2 package installation

2013-06-02 Thread Gavan Schneider

New submission from Gavan Schneider:

There is a missing symlink.

Context:
Installed package:
<http://www.python.org/ftp/python/3.3.2/python-3.3.2-macosx10.6.dmg>
with no apparent problems onto a 'clean' system, i.e., no other python packages 
other than OS X 10.8.3 defaults.

Found the following in /Library/Frameworks/Python.framework:
pendari:Python.framework postgres$ ls -las
total 24
0 drwxr-xr-x  3 root  wheel  204 14 May 06:49 .
0 drwxr-xr-x  8 root  wheel  374  2 Jun 17:06 ..
8 lrwxr-xr-x  1 root  wheel   24  2 Jun 17:06 Headers -> 
Versions/Current/Headers
8 lrwxr-xr-x  1 root  wheel   23  2 Jun 17:06 Python -> Versions/Current/Python
8 lrwxr-xr-x  1 root  wheel   26  2 Jun 17:06 Resources -> 
Versions/Current/Resources
0 drwxr-xr-x  3 root  wheel  102 14 May 06:54 Versions

However:
pendari:Versions postgres$ ls -las
total 0
0 drwxr-xr-x  3 root  wheel  102 14 May 06:54 .
0 drwxr-xr-x  3 root  wheel  204 14 May 06:49 ..
0 drwxrwxr-x  7 root  admin  306 14 May 06:54 3.3

Specifically we are missing the following from .../Versions:
8 lrwxr-xr-x  1 root  wheel3  2 Jun 17:27 Current -> 3.3

to make all the other symlinks work as intended.

This also implies the ~/.bash_profile patch would be improved if the existing:
PATH="/Library/Frameworks/Python.framework/Versions/3.3/bin:${PATH}"
was replaced by:
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"

Apologies if this has already been reported. It is my first report so I could 
easily have missed something: I searched with terms "installer mac".

Regards
Gavan Schneider

--
assignee: ronaldoussoren
components: Installation, Macintosh
messages: 190474
nosy: gavan, ronaldoussoren
priority: normal
severity: normal
status: open
title: Missing symlink:Currnet after Mac OS X 3.3.2 package installation
type: behavior
versions: Python 3.3

___
Python tracker 
<http://bugs.python.org/issue18117>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com