Is it too much to suggest that Python just follow this convention (albeit with the package name changed to pyton3 to prevent potential conflicts)?Īnyway, please excuse my drifting so far from a simple report of a broken and/or missing installer link :) # all the Pyton 2 stuffįinally 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. Wont it be Python3 and the rename could just as logically be done for the current release: amework/Versions/3.3/lib? Won't lib/Python3.4 stuff get put in its own Version?Īs for the reluctance to rename the package for 3.4. 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).Ĭontinuing in the vein of one only mention of the version number in the package tree: why is there a python3.3 folder inside. 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. Specifically the version number should only occur once in the file tree. I'm also not too keen on renaming the Python framework for Python 3.4.Ī 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.Īlso I want an installed version to "look the same" no matter what version it might be. I'd prefer to remove the Current link from "from source" installs instead adding them to the p圓k installer, that makes is clearer that you are not supposed to use "-framework Python". Also: include files aren't included using the framework conventions (e.g. Linking with "-framework Python" is always a bad idea because you have no control over which version of Python you link with other than by changing global system state (the Current link). However there is still a problem: the installer is creating three dead symlinks, which is not correct.Īgree putting Python3 into its own /Library/Frameworks/amework would be a better way to go.Īuthor: Ronald Oussoren (ronaldoussoren) * 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). ' isn't usable for Python 3 out of the box.Īppreciate the comment about potential problems with mixed installations of python3 and python2. Considering the difference between Python 2 and 3 at the API level and that one of the reasons for installing as a framework should be to simplify linking with Python libraries, I've been thinking that it might be a good idea to have Python 3 install in its own framework, say Python3. While that may have made sense in the early days of Python 3 (assuming there would be mixed installations of both Python 3 and Python 2 to the same framework), that is probably no longer a good idea. Currently, the "Current" link is only set for Python 2 installations, not Python 3 ones. That behavior of the OS X installer is by design. It is my first report so I could easily have missed something: I searched with terms "installer mac". PATH="/Library/Frameworks/amework/Versions/3.3/bin:$"Īpologies if this has already been reported. This also implies the ~/.bash_profile patch would be improved if the existing: To make all the other symlinks work as intended. Versions:Ĩ lrwxr-xr-x 1 root wheel 3 2 Jun 17:27 Current -> 3.3 Specifically we are missing the following from. Ĩ lrwxr-xr-x 1 root wheel 24 2 Jun 17:06 Headers -> Versions/Current/HeadersĨ lrwxr-xr-x 1 root wheel 23 2 Jun 17:06 Python -> Versions/Current/PythonĨ lrwxr-xr-x 1 root wheel 26 2 Jun 17:06 Resources -> Versions/Current/ResourcesĠ drwxr-xr-x 3 root wheel 102 14 May 06:54 VersionsĠ drwxr-xr-x 3 root wheel 102 14 May 06:54. Pendari:amework postgres$ ls -lasĠ drwxr-xr-x 3 root wheel 204 14 May 06:49. With no apparent problems onto a 'clean' system, i.e., no other python packages other than OS X 10.8.3 defaults.įound the following in /Library/Frameworks/amework: Gavan, ned.deily, r.david.murray, ronaldoussorenĬreated on 08:29 by gavan, last changed 14:57 by admin. Missing symlink:Current after Mac OS X 3.3.2 package installation
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |