summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-02-23 16:36:25 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-02-23 16:36:25 (GMT)
commit27519673d3ca0d265d719233e6a43f1afa3fe2fc (patch)
tree50c33a4492ca6f240d9736c1f52094f4fe231909 /Doc
parent784a3ffdbb162cec43b09b5d311e0337a13d6997 (diff)
downloadcpython-27519673d3ca0d265d719233e6a43f1afa3fe2fc.zip
cpython-27519673d3ca0d265d719233e6a43f1afa3fe2fc.tar.gz
cpython-27519673d3ca0d265d719233e6a43f1afa3fe2fc.tar.bz2
whatsnew: pyvenv --copies option.
Also added the missing documentation for new new option.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/using/venv-create.inc5
-rw-r--r--Doc/whatsnew/3.4.rst4
2 files changed, 8 insertions, 1 deletions
diff --git a/Doc/using/venv-create.inc b/Doc/using/venv-create.inc
index 997e24b..879ab7a 100644
--- a/Doc/using/venv-create.inc
+++ b/Doc/using/venv-create.inc
@@ -38,6 +38,8 @@ The command, if run with ``-h``, will show the available options::
virtual environment.
--symlinks Try to use symlinks rather than copies, when symlinks
are not the default for the platform.
+ --copies Try to use copies rather than symlinks, even when
+ symlinks are the default for the platform.
--clear Delete the environment directory if it already exists.
If not specified and the directory exists, an error is
raised.
@@ -47,7 +49,8 @@ The command, if run with ``-h``, will show the available options::
environment (pip is bootstrapped by default)
.. versionchanged:: 3.4
- Installs pip by default, added the ``--without-pip`` option
+ Installs pip by default, added the ``--without-pip`` and ``--copies``
+ options
If the target directory already exists an error will be raised, unless
the ``--clear`` or ``--upgrade`` option was provided.
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index b20b64c..d474a95 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1508,6 +1508,10 @@ Other Improvements
Stinner using his :pep:`445`-based ``pyfailmalloc`` tool (:issue:`18408`,
:issue:`18520`).
+* The :ref:`pyvenv <scripts-pyvenv>` command now accepts a ``--copies`` option
+ to use copies rather than symlinks even on systems where symlinks are the
+ default. (Contributed by Vinay Sajip in :issue:`18807`.)
+
Significant Optimizations
-------------------------