]> granicus.if.org Git - python/commitdiff
Improve the pyvenv entry
authorAntoine Pitrou <solipsis@pitrou.net>
Mon, 20 Aug 2012 23:08:17 +0000 (01:08 +0200)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 20 Aug 2012 23:08:17 +0000 (01:08 +0200)
Doc/using/scripts.rst
Doc/whatsnew/3.3.rst

index ed4d8686588bc30e6b5ebdbc25aaf83342017d1a..2c87416f1c5490b7ce3ac564d9eae25962c57b58 100644 (file)
@@ -3,6 +3,8 @@
 Additional Tools and Scripts
 ============================
 
+.. _scripts-pyvenv:
+
 pyvenv - Creating virtual environments
 --------------------------------------
 
index f7a928adae5b3adc670f59553489afb442f6484c..2e8d341541a2bfb359c0c757603fc65be20e80bc 100644 (file)
@@ -94,13 +94,22 @@ Please read on for a comprehensive list of user-facing changes.
 PEP 405: Virtual Environments
 =============================
 
-- inspired by ``virtualenv``, a tool widely used by the community
-- change to the interpreter to avoid hacks
-
-The :mod:`venv` module and ``pyvenv`` script (inspired by ``virtualenv``, a
-tool widely used by the community).
-
-.. also mention the interpreter changes that avoid the hacks used in virtualenv
+:pep:`405` - Python Virtual Environments
+ PEP written by Carl Meyer, implemented by Carl Meyer and Vinay Sajip.
+
+Virtual environments help create separate Python setups while sharing a
+system-wide base install, for ease of maintenance.  Virtual environments
+have their own set of private site packages (i.e. locally-installed
+libraries), and are optionally segregated from the system-wide site
+packages.  Their concept and implementation are inspired by the popular
+``virtualenv`` third-party package, but benefit from tighter integration
+with the interpreter core.
+
+This PEP adds the :mod:`venv` module for programmatic access, and the
+:ref:`pyvenv <scripts-pyvenv>` script for command-line access and
+administration.  The Python interpreter becomes aware of a ``pvenv.cfg``
+file whose existence signals the base of a virtual environment's directory
+tree.
 
 
 PEP 420: Namespace Packages