[MacPorts] #46568: `port select --set <group>` does not symlink the correct Python utilities

MacPorts noreply at macports.org
Thu Jan 15 08:10:21 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 meitarm+macports@…):

 Replying to [comment:1 larryv@…]:
 > Other than `easy_install`, what executables aren’t being symlinked?
 Well, the problem is bidirectional, which is to say, once I switch from
 Apple's Python to MacPort's, switching *back* to Apple's leaves numerous
 of the MacPorts Python executables symlinked. That is, for instance,
 `/opt/local/bin/pydoc` is still symlinked after `port select --set
 python27-apple`, which I would not expect given the presence of
 `/usr/bin/pydoc` provided by Apple.

 These include:

 * pydoc
 * pythonw
 * python-config

 I had at first thought the same thing was happening with `virtualenv` but
 my Mac doesn't seem to have an Apple-shipped copy of that. *shrug*

 That said, the only executable that *never* gets symlinked appropriately
 I've noticed so far is `easy_install`. The others do get symlinked but
 never get touched again, which is unexpected behavior and also leads to a
 lot of confusing version checking.

-- 
Ticket URL: <https://trac.macports.org/ticket/46568#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list