Mercurial > hg > config
view python/venvit.py @ 79:a599feff7c93
moving the cheeseshop document here; not the best place but it will work for now
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 21 Jun 2010 13:16:24 -0700 |
parents | a9110cc98d94 |
children | 915f88af9624 |
line wrap: on
line source
#!/usr/bin/env python """ venvit.py -- the equivalent of ez_setup.py for virtualenv, but less intrusive; It wants a one-step installation to install python into a new virtualenv. venvit is meant to be used via e.g. curl, although you can download it as well: curl http://example.com/path/to/venvit.py | python - <package> If <package> is a package name, it tries to install it from the cheeseshop. If it is a svn/hg/git/tgz/etc URL, it should download and install the software in source. Only useful output -- like the scripts installed -- should be output to the user. Ideally, packages could have a venvit__init__.py (or a better name) that will be executed after installation (or a venvit.txt which would just be output to console, maybe falling back to the README """