Re:Hg Init: a Mercurial tutorial by Joel Spolsky
by callmeed on Wednesday February 24, 2010 @12:01PM
(#1148418)
I still can't get HG to build with MacPorts/SnowLeopard ... seems to be a problem with Python.
[ Parent
| on HN ]
Re:Hg Init: a Mercurial tutorial by Joel Spolsky
by brodie on Wednesday February 24, 2010 @12:05PM
(#1148429)
Have you tried the binary installer? http://mercurial.selenic.com/downloads/
If you're intent on building from source, make sure you're running "sudo python setup.py install; sudo make install-doc". Installing with the makefile directly will place packages in /usr/local, where Python doesn't normally live under OS X.
Re:Hg Init: a Mercurial tutorial by Joel Spolsky
by ubernostrum on Wednesday February 24, 2010 @01:10PM
(#1148627)
Or if you're serious about installing Python packages, you already have a .pydistutils.cfg file specifying where you want things to install. Learning a few options to put in that file is a lifesaver.
Re:Hg Init: a Mercurial tutorial by Joel Spolsky
by inaequitas on Thursday February 25, 2010 @07:37PM
(#1152030)
I remember having to symlink /usr/local/lib/python2.6 to /Library/Python/2.6 so that site-packages are automatically included in $PYTHONPATH. You should also see what echo $PYTHONPATH says, and make sure site-packages is in there.
For reference, mine is:
/usr/local/lib/python2.6/site-packages/:/System/Library/Frameworks/Python.framework/Versions/Current/lib/: