A new script which creates Python 3.3 venvs with Distribute and pip installed in them

Vinay Sajip vinay_sajip at yahoo.co.uk
Wed Jan 30 23:18:50 CET 2013


Ian Kelly <ian.g.kelly <at> gmail.com> writes:

> 
> I have a shell script for this:
> 

Sure - there's a similar one at

https://gist.github.com/4591655

The main purpose of the script was to illustrate how to subclass venv.EnvBuilder,
and I've added it as an example to the 3.3 and in-development documentation:

http://docs.python.org/3/library/venv.html#an-example-of-extending-envbuilder

Doing it in Python means that it runs cross-platform, offers a few benefits
such as command line help, or the option to install Distribute but not pip.

Regards,

Vinay Sajip




More information about the Python-list mailing list