You can also try setupegg.py develop, which will setup some symbolic links to make the globally installed sympy always point to the git version. Then, whatever branch you checkout with git will automatically become the globally installed version.
Regarding your other way (and actually this way too), make sure that the command "python2.7" points to the macports Python (run "which python2.7"). If you just use ./setup.py instead of python setup.py, it will use the default Python (the first in your path). You can also try /full/path/to/macports/python2.7 setup.py (probably /opt/bin/python2.7). Aaron Meurer On Sun, Aug 5, 2012 at 1:15 PM, Ondřej Čertík <ondrej.cer...@gmail.com> wrote: > Hi Comer, > > On Sun, Aug 5, 2012 at 11:26 AM, Comer Duncan <comer.dun...@gmail.com> wrote: >> Hi, >> >> I have a few branches of sympy. Among them is Stefan Krastanov's branch. I >> want to install (sudo python2.7 setup.py install) it so that when I run >> ipython notebook --profile=sympy from anywhere it will use Stefan's. So far >> I have tried checkout of his branch and find that his stuff is indeed there. >> I have also tried the 'sudo python2.7 setup.py install' but it does not >> provide what I want, branch-wise. I have downloaded ipython and built it > > That's weird --- does it mean that some other version (branch) of > SymPy is picked up instead? > >> using python2.7 (which comes from macports). The path to macports bin >> directory is first in my PATH (am running bash). What do I need to do to >> get the functionality with the desired sympy from Stefan's branch? > > I personally use Ubuntu, but the principle should be the same in Mac. > How did you > install ipython? Using "sudo python2.7 setup.py install"? If so, then > you should do > the same for SymPy. Maybe Aaron or others can comment. > > Ondrej > > P.S. I personally just use virtualenv, or install things into ~/usr using: > > python setup.py install --prefix=$HOME/usr > > and put "$HOME/usr/lib/python2.7/site-packages/" into my PYTHONPATH. > I never use "sudo" for installing things. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to sympy@googlegroups.com. > To unsubscribe from this group, send email to > sympy+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.