[Baypiggies] using virtualenv
simeonf at gmail.com
Sun Mar 29 01:53:15 CET 2009
On Fri, Mar 27, 2009 at 10:48 AM, <baypiggies-request at python.org> wrote:
> From: Benjamin Sergeant <bsergean at gmail.com>
> $ svn co /path/to/my/project
> $ cd my/project
> $ virtualenv pyenv
> New python executable in pyenv/bin/python
> Installing setuptools............done.
> $ pip install -E pyenv ply
> Downloading/unpacking ply
> Downloading ply-3.2.tar.gz (139Kb): 139Kb downloaded
> Running setup.py egg_info for package ply
> Installing collected packages: ply
> Running setup.py install for ply
> Successfully installed ply
> $ export PATH=pyenv/bin:$PATH
I'm glad you're trying out pip! Any particular reason not to use the
built-in "activate" command?
I also didn't mention in my presentation (since I was kind of rushing)
but Doug Hellman (who writes the excellent "Python Module of the Week"
series) wrote a shell script tool to manage many virtual envs. See
More information about the Baypiggies