mirror of
https://github.com/python/cpython.git
synced 2025-10-28 17:13:08 +00:00
Closes #15776: pyvenv now works with existing directories.
This commit is contained in:
parent
24dfdb69ca
commit
bd40d3e144
3 changed files with 74 additions and 13 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue