Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2751967

Browse files
committed
whatsnew: pyvenv --copies option.
Also added the missing documentation for new new option.
1 parent 784a3ff commit 2751967

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

Doc/using/venv-create.inc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ The command, if run with ``-h``, will show the available options::
3838
virtual environment.
3939
--symlinks Try to use symlinks rather than copies, when symlinks
4040
are not the default for the platform.
41+
--copies Try to use copies rather than symlinks, even when
42+
symlinks are the default for the platform.
4143
--clear Delete the environment directory if it already exists.
4244
If not specified and the directory exists, an error is
4345
raised.
@@ -47,7 +49,8 @@ The command, if run with ``-h``, will show the available options::
4749
environment (pip is bootstrapped by default)
4850

4951
.. versionchanged:: 3.4
50-
Installs pip by default, added the ``--without-pip`` option
52+
Installs pip by default, added the ``--without-pip`` and ``--copies``
53+
options
5154

5255
If the target directory already exists an error will be raised, unless
5356
the ``--clear`` or ``--upgrade`` option was provided.

Doc/whatsnew/3.4.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,6 +1508,10 @@ Other Improvements
15081508
Stinner using his :pep:`445`-based ``pyfailmalloc`` tool (:issue:`18408`,
15091509
:issue:`18520`).
15101510

1511+
* The :ref:`pyvenv <scripts-pyvenv>` command now accepts a ``--copies`` option
1512+
to use copies rather than symlinks even on systems where symlinks are the
1513+
default. (Contributed by Vinay Sajip in :issue:`18807`.)
1514+
15111515

15121516
Significant Optimizations
15131517
-------------------------

0 commit comments

Comments
 (0)