[Python-checkins] cpython: whatsnew: pyvenv --copies option.

r.david.murray python-checkins at python.org
Sun Feb 23 17:42:16 CET 2014


http://hg.python.org/cpython/rev/fe8d416618e9
changeset: 89341:fe8d416618e9
user: R David Murray <rdmurray at bitdance.com>
date: Sun Feb 23 11:36:25 2014 -0500
summary:
 whatsnew: pyvenv --copies option.
Also added the missing documentation for new new option.
files:
 Doc/using/venv-create.inc | 5 ++++-
 Doc/whatsnew/3.4.rst | 4 ++++
 2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/Doc/using/venv-create.inc b/Doc/using/venv-create.inc
--- a/Doc/using/venv-create.inc
+++ b/Doc/using/venv-create.inc
@@ -38,6 +38,8 @@
 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 @@
 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
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -1508,6 +1508,10 @@
 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
 -------------------------
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /