In article <caotb1wf9jpwbtxqwmf8ghmc1v3vmhmkdeo7rejeoysnxy_p...@mail.gmail.com>, Chris Jerdonek <[email protected]> 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?
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 a Macports Python, you can add something like: export PATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin:$PAT H to the appropriate shell initialization profile, like .bash_profile. -- Ned Deily, [email protected] _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
