[Distutils] pythonv, take two

Vinay Sajip vinay_sajip at yahoo.co.uk
Sun Apr 3 13:02:40 CEST 2011


Carl Meyer <carl <at> oddbird.net> writes:

> Looks great! I can confirm it works when installed. I'll look into the
> source-build issues.

I've also updated pmv.py at

https://gist.github.com/893507

to be closer to what we want for virtualize.py in the stdlib, so that you can do

python3.3 -m virtualize /tmp/testenv

and have it work:

vinay at eta-natty:~/projects/scratch$ python3.3 -m virtualize -h
usage: virtualize.py [-h] [--no-distribute] [--no-site-packages] [--clear]
ENV_DIR [ENV_DIR ...]
 
positional arguments:
ENV_DIR A directory to create the environment in.
 
optional arguments:
-h, --help show this help message and exit
--no-distribute Don't install Distribute in the virtual environment.
--no-site-packages Don't give access to the global site-packages dir to the
virtual environment.
--clear Delete the environment directory if it already exists.
If not specified and the directory exists, an error is
raised.
vinay at eta-natty:~/projects/scratch$ python3.3 -m virtualize /tmp/testenv
Installing distribute
..........................................................................
..........................................................................
..........................................................................
..........................................................................
.............................done.
vinay at eta-natty:~/projects/scratch$



More information about the Distutils-SIG mailing list