mozilla/funfactory — pull request #28 by peterbe (2012-05-07 22:05:42+00:00)
Title: re-use existing $VIRTUAL_ENV  if possible

So, with this change either of these work the same:

```
$ sudo pip install funfactory
$ funfactory --pkg=foo
Aww yeah. Just installed you some Playdoh.
(foo) $ ls foo/
```

or

```
$ virtualenv foo_env
$ cd foo_env
$ source bin/activate
(foo) $ pip install funfactory
(foo) $ funfactory --pkg=foo
Aww yeah. Just installed you some Playdoh.
(foo) $ ls foo/
```

In other words, it doesn't bother to create a new virtualenv if you're already in one.

The few people who use a virtualenv without activating it can still run `funfactory --venv=/path/to/my/venv --pkg=foo`

When this lands, I need to update the playdoh-docs to explain this.