[MacPorts] #46568: `port select --set <group>` does not symlink the correct Python utilities
MacPorts
noreply at macports.org
Thu Jan 15 12:20:47 PST 2015
#46568: `port select --set <group>` does not symlink the correct Python utilities
---------------------------------+--------------------------------
Reporter: meitarm+macports@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: python27 |
---------------------------------+--------------------------------
Comment (by ryandesign@…):
I agree, `easy_install` does not get symlinked. That should probably be
fixed.
As to the other problem you mentioned, I have never heard of that before
and cannot reproduce it:
{{{
$ sudo port select --set python python27
Selecting 'python27' for 'python' succeeded. 'python27' is now active.
$ ls -l /opt/local/bin/py{doc,thon,thon-config,thonw}
lrwxr-xr-x 1 root wheel 23 Jan 15 14:17 /opt/local/bin/pydoc ->
/opt/local/bin/pydoc2.7
lrwxr-xr-x 1 root wheel 24 Jan 15 14:17 /opt/local/bin/python ->
/opt/local/bin/python2.7
lrwxr-xr-x 1 root wheel 31 Jan 15 14:17 /opt/local/bin/python-config ->
/opt/local/bin/python2.7-config
lrwxr-xr-x 1 root wheel 25 Jan 15 14:17 /opt/local/bin/pythonw ->
/opt/local/bin/pythonw2.7
$ sudo port select --set python python27-apple
Selecting 'python27-apple' for 'python' succeeded. 'python27-apple' is now
active.
$ ls -l /opt/local/bin/py{doc,thon,thon-config,thonw}
lrwxr-xr-x 1 root wheel 17 Jan 15 14:18 /opt/local/bin/pydoc ->
/usr/bin/pydoc2.7
lrwxr-xr-x 1 root wheel 18 Jan 15 14:18 /opt/local/bin/python ->
/usr/bin/python2.7
lrwxr-xr-x 1 root wheel 25 Jan 15 14:18 /opt/local/bin/python-config ->
/usr/bin/python2.7-config
lrwxr-xr-x 1 root wheel 19 Jan 15 14:18 /opt/local/bin/pythonw ->
/usr/bin/pythonw2.7
$ sudo port select --set python none
Selecting 'none' for 'python' succeeded. 'none' is now active.
$ ls -l /opt/local/bin/py{doc,thon,thon-config,thonw}
ls: /opt/local/bin/pydoc: No such file or directory
ls: /opt/local/bin/python: No such file or directory
ls: /opt/local/bin/python-config: No such file or directory
ls: /opt/local/bin/pythonw: No such file or directory
$
}}}
--
Ticket URL: <https://trac.macports.org/ticket/46568#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list