mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	whatsnew: pyvenv --copies option.
Also added the missing documentation for new new option.
This commit is contained in:
		
							parent
							
								
									784a3ffdbb
								
							
						
					
					
						commit
						27519673d3
					
				
					 2 changed files with 8 additions and 1 deletions
				
			
		| 
						 | 
					@ -38,6 +38,8 @@ The command, if run with ``-h``, will show the available options::
 | 
				
			||||||
                             virtual environment.
 | 
					                             virtual environment.
 | 
				
			||||||
      --symlinks             Try to use symlinks rather than copies, when symlinks
 | 
					      --symlinks             Try to use symlinks rather than copies, when symlinks
 | 
				
			||||||
                             are not the default for the platform.
 | 
					                             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.
 | 
					      --clear                Delete the environment directory if it already exists.
 | 
				
			||||||
                             If not specified and the directory exists, an error is
 | 
					                             If not specified and the directory exists, an error is
 | 
				
			||||||
                             raised.
 | 
					                             raised.
 | 
				
			||||||
| 
						 | 
					@ -47,7 +49,8 @@ The command, if run with ``-h``, will show the available options::
 | 
				
			||||||
                             environment (pip is bootstrapped by default)
 | 
					                             environment (pip is bootstrapped by default)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. versionchanged:: 3.4
 | 
					.. 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
 | 
					If the target directory already exists an error will be raised, unless
 | 
				
			||||||
the ``--clear`` or ``--upgrade`` option was provided.
 | 
					the ``--clear`` or ``--upgrade`` option was provided.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1508,6 +1508,10 @@ Other Improvements
 | 
				
			||||||
  Stinner using his :pep:`445`-based ``pyfailmalloc`` tool (:issue:`18408`,
 | 
					  Stinner using his :pep:`445`-based ``pyfailmalloc`` tool (:issue:`18408`,
 | 
				
			||||||
  :issue:`18520`).
 | 
					  :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
 | 
					Significant Optimizations
 | 
				
			||||||
-------------------------
 | 
					-------------------------
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue