[Distutils] question re: easy_install and macports

PJ Eby pje at telecommunity.com
Thu Oct 27 17:36:36 CEST 2011


On Thu, Oct 27, 2011 at 8:22 AM, Chris Jerdonek <chris.jerdonek at gmail.com>wrote:

> Hi, I have a quick question regarding easy_install and MacPorts.  I
> tried easy_installing nose while using MacPorts (Python 2.6.7 /
> py26-distribute @0.6.24_0 / MacPorts version 2.0.3) --
>
> > sudo python -m easy_install 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
>
> So nosetests is not automatically in the path.  Was this a problem
> with MacPorts, easy_install, or nose?  Whose responsibility was it to
> create the alias?
>

easy_install doesn't create aliases or symlinks for such things; it just
installs where it's told to by the local distutils configuration.  You can
use the command line or standard distutils configuration to tell it where
you want scripts installed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20111027/a8eb0762/attachment-0001.html>


More information about the Distutils-SIG mailing list