[Distutils] question re: easy_install and macports

Chris Jerdonek chris.jerdonek at gmail.com
Fri Oct 28 23:45:16 CEST 2011


On Thu, Oct 27, 2011 at 11:54 PM, Ned Deily <nad at acm.org> wrote:
>> >> Hi, I have a quick question regarding easy_install and MacPorts.  I
>> >> tried easy_installing nose
>>
>> >> This worked, except it installed the nosetests script into--
>> >>
>> >> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin
>> >>
>> >> but did not create an alias in--
>> >>
>> >> /opt/local/bin
>> >>
>> > For Mac OS X Python framework builds, the easiest general solution is to
>> > add the framework bin directory to your shell PATH.  The python.org
>> > installers do that by default.
> For supporting switching between MacPorts Python versions, you can
> substitute "Current" for "2.6" in the above path; I believe "port select
> python" updates the "Current" link to point to the selected version.

Thanks.  Adding MacPorts "Current" framework bin to my path is the
solution I was looking for.

--Chris


More information about the Distutils-SIG mailing list