[MacPorts] #19575: python 2to3 is not in /opt/local/bin
MacPorts
noreply at macports.org
Fri May 8 09:11:53 PDT 2009
#19575: python 2to3 is not in /opt/local/bin
-------------------------------------+--------------------------------------
Reporter: julien.thewys@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port:
-------------------------------------+--------------------------------------
Hi,
I recently installed "python26 @2.6.2" and "python30 @3.0.1".
Both come with the 2to3 program but for some reason there is no link to
2to3 in /opt/local/bin.
I did not have a look at the install script but I suppose the link
creation is missing (maybe because the filename starts with a digit
instead of a letter).
If you have python2.6 and python3.0, executing the script below will
display
"ls: /opt/local/bin/2to3*: No such file or directory"
twice, but should presumably not display anything.
{{{
#!/bin/sh
for file in $(find
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin -type f);
do
ls -al /opt/local/bin/$(basename "$file")* | grep "No such file"
done
for file in $(find
/opt/local/Library/Frameworks/Python.framework/Versions/3.0/bin -type f);
do
ls -al /opt/local/bin/$(basename "$file")* | grep "No such file"
done
}}}
--
Ticket URL: <http://trac.macports.org/ticket/19575>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list