Hi all,

do you all know about virtualenv?  Basically, it lets you create your
own isolated Python environment within which to play, install, etc.

http://pypi.python.org/pypi/virtualenv

Use it like so (from bash):

% virtualenv /some/path
% . /some/path/bin/activate

now, everything Pythonic you install will be placed in /some/path and
accessible to you as usual (cmd-line execution, and/or import).  To
exit this environment, just do 'deactivate'.

For example,

% virtualenv /tmp/foo
% . /tmp/foo/bin/activate
% cd /pygr/dev/dir
% python setup.py install

You will now be able to run your latest dev version of pygr, isolated
from other pygr installs and Python environments.

This is a great way to depend on specific & personal versions of Python,
pygr, etc, without having to muck around with system-level stuff.

cheers,
--titus
-- 
C. Titus Brown, c...@msu.edu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pygr-dev" group.
To post to this group, send email to pygr-dev@googlegroups.com
To unsubscribe from this group, send email to 
pygr-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pygr-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to