On Tue, 2010-03-16 at 08:26 +0000, Chris Withers wrote: > Hi All, > > How can I set up a virtualenv in such a way that I can version control > the packages and their versions that are installed in it? > > The answer would appear to a custom bootstrap script, but how would I > think update an existing virtualenv when I added or removed packages or > changed the version of a specific package?
we use a virtualenv bootstrap script that set an virtualenv+buildout project, using the same directory as base for both ones, we dont find any problems with this setup in our projects. then we only set the versions for the packages that we like in the buildout recipe. another advantage is that any command installed in the bin/ dir for the buildout can be called directly if we activate the virtualenv. our script if find an bootstrap.py and buildout.cfg files in the same dir that we run the virtualenv bootstrap script, build the system, ideal for deployments in production -- Yonsy Solis Aureal Systems (mov) 989-124-141 (www) http://www.aureal.pe _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
