running different TG versions

0 views
Skip to first unread message

Ksenia Marasanova

unread,
May 25, 2006, 7:46:44 AM5/25/06
to turbo...@googlegroups.com
Hi,

I think this question was asked before, but I couldnt find the topic.
Is there a way to run different versions of TG on the same system? I
have several sites that use an old svn revision of TG, and for the new
site I would like to use 1.0 branche.
Any hints?

thanks,
Ksenia.

anders pearson

unread,
May 25, 2006, 8:05:14 AM5/25/06
to turbo...@googlegroups.com

I do this by using Ian Bicking's workingenv.py script to contain each
instance in its own seperate environment with its own set of
libraries:

http://blog.ianbicking.org/workingenv-revisited.html

--
anders pearson : http://www.columbia.edu/~anders/
C C N M T L : http://www.ccnmtl.columbia.edu/
weblog : http://thraxil.org/

Jorge Vargas

unread,
May 25, 2006, 9:57:33 AM5/25/06
to turbo...@googlegroups.com

I have never try it but I know there is a  way to tell easy_install to maintain diferent versions you just pass in

thanks,
Ksenia.


Jorge Vargas

unread,
May 25, 2006, 10:00:48 AM5/25/06
to turbo...@googlegroups.com
sorry if I send this twice, the first one is incomplete please ignore it.


On 5/25/06, Ksenia Marasanova <ksenia.m...@gmail.com > wrote:
I have never try it but I know there is a  way to tell easy_install to maintain diferent versions you just pass in
--multi-version, -m
http://peak.telecommunity.com/DevCenter/EasyInstall#command-line-options

then I believe TG default setup.py script is good enough to undestand this.

thanks,
Ksenia.

Ksenia Marasanova

unread,
May 26, 2006, 3:50:14 PM5/26/06
to turbo...@googlegroups.com, anders pearson
On 5/25/06, anders pearson <and...@columbia.edu> wrote:
> On 2006-05-25 13:46:44 +0200, Ksenia Marasanova wrote:
>
> > I think this question was asked before, but I couldnt find the topic.
> > Is there a way to run different versions of TG on the same system? I
> > have several sites that use an old svn revision of TG, and for the new
> > site I would like to use 1.0 branche.
> > Any hints?
>
> I do this by using Ian Bicking's workingenv.py script to contain each
> instance in its own seperate environment with its own set of
> libraries:
>
> http://blog.ianbicking.org/workingenv-revisited.html
>

Thank you anders! Can you give an example command how do you install
TG with workingenv? I tried several ways but got errors... i may be
missing something...

Ksenia

anders pearson

unread,
May 26, 2006, 4:11:43 PM5/26/06
to Ksenia Marasanova, turbo...@googlegroups.com
On 2006-05-26 21:50:14 +0200, Ksenia Marasanova wrote:
> > http://blog.ianbicking.org/workingenv-revisited.html
> >
>
> Thank you anders! Can you give an example command how do you install
> TG with workingenv? I tried several ways but got errors... i may be
> missing something...

Pretty much just as it is on his blog:

$ wget http://svn.colorstudy.com/home/ianb/workingenv/workingenv.py
$ python workingenv.py -r http://svn.colorstudy.com/home/ianb/workingenv/tg-0.9.txt
$ source working-env/bin/activate
$ tg-admin quickstart

and I'm good to go in a new TG 0.9 environment (I keep 0.8 installed
system-wide for production apps that are still on it).

Ksenia Marasanova

unread,
May 26, 2006, 5:09:45 PM5/26/06
to anders pearson, Ksenia Marasanova, turbo...@googlegroups.com
On 5/26/06, anders pearson <and...@columbia.edu> wrote:
> On 2006-05-26 21:50:14 +0200, Ksenia Marasanova wrote:
> > > http://blog.ianbicking.org/workingenv-revisited.html
> > >
> >
> > Thank you anders! Can you give an example command how do you install
> > TG with workingenv? I tried several ways but got errors... i may be
> > missing something...
>
> Pretty much just as it is on his blog:
>
> $ wget http://svn.colorstudy.com/home/ianb/workingenv/workingenv.py
> $ python workingenv.py -r http://svn.colorstudy.com/home/ianb/workingenv/tg-0.9.txt
> $ source working-env/bin/activate
> $ tg-admin quickstart
>
> and I'm good to go in a new TG 0.9 environment (I keep 0.8 installed
> system-wide for production apps that are still on it).

This works! I only had to download and modify tg-0.9.txt, to add all
missing libraries that tg-admin requires. Thanks again :)

Reply all
Reply to author
Forward
0 new messages