comparison python/venvit.py @ 70:a9110cc98d94

adding notes on a venvit idea
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 21 May 2010 15:40:46 -0700
parents
children 915f88af9624
comparison
equal deleted inserted replaced
69:71576cdc28ab 70:a9110cc98d94
1 #!/usr/bin/env python
2 """
3 venvit.py -- the equivalent of ez_setup.py for virtualenv, but less intrusive;
4 It wants a one-step installation to install python into a new virtualenv.
5 venvit is meant to be used via e.g. curl, although you can download it as well:
6
7 curl http://example.com/path/to/venvit.py | python - <package>
8
9 If <package> is a package name, it tries to install it from the cheeseshop.
10
11 If it is a svn/hg/git/tgz/etc URL, it should download and install the software
12 in source.
13
14 Only useful output -- like the scripts installed -- should be output to the
15 user.
16
17 Ideally, packages could have a venvit__init__.py (or a better name) that
18 will be executed after installation (or a venvit.txt which would just be output
19 to console, maybe falling back to the README
20 """