mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
bpo-35854: Fix EnvBuilder and --symlinks in venv on Windows (GH-11700)
This commit is contained in:
parent
40ebe948e9
commit
a1f9a3332b
5 changed files with 64 additions and 28 deletions
|
@ -70,6 +70,11 @@ The command, if run with ``-h``, will show the available options::
|
|||
In earlier versions, if the target directory already existed, an error was
|
||||
raised, unless the ``--clear`` or ``--upgrade`` option was provided.
|
||||
|
||||
.. note::
|
||||
While symlinks are supported on Windows, they are not recommended. Of
|
||||
particular note is that double-clicking ``python.exe`` in File Explorer
|
||||
will resolve the symlink eagerly and ignore the virtual environment.
|
||||
|
||||
The created ``pyvenv.cfg`` file also includes the
|
||||
``include-system-site-packages`` key, set to ``true`` if ``venv`` is
|
||||
run with the ``--system-site-packages`` option, ``false`` otherwise.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue