![](https://secure.gravatar.com/avatar/77e4580327ea0b964266f013773360ae.jpg?s=120&d=mm&r=g)
Hi YT developers, I'm sure some of may have two, or even many installations of YT. I was wondering what's the best way to keep track of which version of YT you're using and making sure that the libraries are linked correctly. I was thinking using a soft link and so the python installation I'll call would be python-dev or python-forked etc. But then the libraries they'll be linking against would both be specified in my PATH and LD_LIBRARY, I was wondering if that would cause havoc when I try to update something and screw things up? Or am I worrying too much? From G.S.
![](https://secure.gravatar.com/avatar/a3757a567910be498ee79577e8d296bf.jpg?s=120&d=mm&r=g)
I think the easiest way to do this is to make a fresh install (with the script) in a separate directory. It's a cheap way to have "branches". Are you trying to run with different versions of Python for testing? On Tue, Aug 2, 2011 at 2:22 PM, <gso@physics.ucsd.edu> wrote:
Hi YT developers,
I'm sure some of may have two, or even many installations of YT. I was wondering what's the best way to keep track of which version of YT you're using and making sure that the libraries are linked correctly.
I was thinking using a soft link and so the python installation I'll call would be python-dev or python-forked etc.
But then the libraries they'll be linking against would both be specified in my PATH and LD_LIBRARY, I was wondering if that would cause havoc when I try to update something and screw things up? Or am I worrying too much?
From G.S.
_______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
![](https://secure.gravatar.com/avatar/77e4580327ea0b964266f013773360ae.jpg?s=120&d=mm&r=g)
Yes, I'm trying to add in something and I want to make sure that after the changes are made YT wouldn't crash and should give expected answers. So I'm having to have to rebuild every time I make a change, so I want to make sure the dev folder wouldn't be affected by the stuff I have in the forked folder and vice versa. They are already in separate folders, so as long as I call the appropriate python-(version) it should be fine? From G.S.
I think the easiest way to do this is to make a fresh install (with the script) in a separate directory. It's a cheap way to have "branches".
Are you trying to run with different versions of Python for testing?
On Tue, Aug 2, 2011 at 2:22 PM, <gso@physics.ucsd.edu> wrote:
Hi YT developers,
I'm sure some of may have two, or even many installations of YT. I was wondering what's the best way to keep track of which version of YT you're using and making sure that the libraries are linked correctly.
I was thinking using a soft link and so the python installation I'll call would be python-dev or python-forked etc.
But then the libraries they'll be linking against would both be specified in my PATH and LD_LIBRARY, I was wondering if that would cause havoc when I try to update something and screw things up? Or am I worrying too much?
From G.S.
_______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
![](https://secure.gravatar.com/avatar/a3757a567910be498ee79577e8d296bf.jpg?s=120&d=mm&r=g)
I'm not sure what you mean by dev and forked folders, but I think I understand the issue. You are trying to run separate yt installs with the correct python and packages for that install, yes? You shouldn't have to specify a version to run the correct python. You are probably missing the yt bin directory in your path, or you have several and the search is falling through the first. Did you set environment variables the way the install script says? I also recommend checking out the virtualenv-like script I added for an easy way to do this. I'm on my phone, so I'm not sure what the path to that is :/ On Tuesday, August 2, 2011, <gso@physics.ucsd.edu> wrote:
Yes, I'm trying to add in something and I want to make sure that after the changes are made YT wouldn't crash and should give expected answers. So I'm having to have to rebuild every time I make a change, so I want to make sure the dev folder wouldn't be affected by the stuff I have in the forked folder and vice versa.
They are already in separate folders, so as long as I call the appropriate python-(version) it should be fine?
From G.S.
I think the easiest way to do this is to make a fresh install (with the script) in a separate directory. It's a cheap way to have "branches".
Are you trying to run with different versions of Python for testing?
On Tue, Aug 2, 2011 at 2:22 PM, <gso@physics.ucsd.edu> wrote:
Hi YT developers,
I'm sure some of may have two, or even many installations of YT. I was wondering what's the best way to keep track of which version of YT you're using and making sure that the libraries are linked correctly.
I was thinking using a soft link and so the python installation I'll call would be python-dev or python-forked etc.
But then the libraries they'll be linking against would both be specified in my PATH and LD_LIBRARY, I was wondering if that would cause havoc when I try to update something and screw things up? Or am I worrying too much?
From G.S.
_______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
_______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
participants (2)
-
Casey W. Stark
-
gso@physics.ucsd.edu