List of all virtualenv

Is there an easy way in virtualenvwrapper to list all virtualenv on my machine?

(e.g., what yolk -l does to list all python packages in the current virtual environment?)

CLARIFICATION: "ls -la" in my env directory does not count. I am looking for a virtual or virtual virtual team.

+119
virtualenv virtualenvwrapper
Aug 27 '11 at 2:20
source share
3 answers

Stupid question. Found that there

lsvirtualenv 

which lists all existing virtualenv.

+66
Sep 18 '11 at 18:50
source share

in lsvirtualenv you have two options: long and short:

The "long" option is the default, it is looking if you have a hook for a team that takes longer.

"short" just take virtual name names and print it

brief use:

 $ lsvirtualenv -b 

prolonged use:

 $ lsvirtualenv -l 

if you donโ€™t have hooks or even donโ€™t know what Iโ€™m talking about using โ€œshortโ€.

+164
Apr 23 '12 at 22:17
source share

Run workon with no arguments to list the available environments.

+55
Aug 6 '12 at 16:00
source share



All Articles