TerryP <bigboss1...@gmail.com> writes: > On Oct 4, 4:12 am, Kushal Kumaran <kushal.kumaran+pyt...@gmail.com> > wrote: >> Is virtualenv what you need? >> >> http://pypi.python.org/pypi/virtualenv >> >> > <snip> >> >> -- >> regards, >> kushal > > > Not quite. It basically amounts to a UNIX version of xcopy'ing an > existing Python installation. > > ... install Python X.Y by any means > python virtualenv.py -p=X.Y whereToStoreFiles # clone existing > Python X.Y install > python virtualenv.py --relocatable whereToStoreFiles # make xcopy/ > tar friendly > . whereToStoreFiles/bin/activate > python file.py args # run using whereToStoreFiles/bin/python cloned > by above > ... rinse and repeat for each X.Y > > versus > > . ./path/to/rvm/script > rvm install 1.8.7,1.9.2,rbx # fetch and install Ruby 1.8.7, > 1.9.2, and Rubinius in rvm root > rvm 1.9.2 some-ruby-command args # run using Ruby 1.9.2.
python2.5 > rvm 1.8.7 some-other-rbcmd args # run using Ruby 1.8.7 python2.4 > rvm --default rbx # set default ruby for this shell alias python=python2.5 > ruby file.rb args # use rubininus as ruby > ruby system # use systems ruby instead /usr/bin/python > ruby file.rb args # ^ Diez -- http://mail.python.org/mailman/listinfo/python-list