Closes #15776: pyvenv now works with existing directories.

This commit is contained in:
Vinay Sajip 2012-10-11 17:22:45 +01:00
parent 24dfdb69ca
commit bd40d3e144
3 changed files with 74 additions and 13 deletions

View file

@ -75,8 +75,8 @@ creation according to their needs, the :class:`EnvBuilder` class.
* ``system_site_packages`` -- a Boolean value indicating that the system Python
site-packages should be available to the environment (defaults to ``False``).
* ``clear`` -- a Boolean value which, if True, will delete any existing target
directory instead of raising an exception (defaults to ``False``).
* ``clear`` -- a Boolean value which, if True, will delete the contents of
any existing target directory, before creating the environment.
* ``symlinks`` -- a Boolean value indicating whether to attempt to symlink the
Python binary (and any necessary DLLs or other binaries,
@ -88,7 +88,6 @@ creation according to their needs, the :class:`EnvBuilder` class.
upgraded in-place (defaults to ``False``).
Creators of third-party virtual environment tools will be free to use the
provided ``EnvBuilder`` class as a base class.