[Python-checkins] peps (merge default -> default): Incorporated PEP 405 tidy-ups, and marked as Final.
vinay.sajip
python-checkins at python.org
Tue Jun 5 11:25:41 CEST 2012
http://hg.python.org/peps/rev/3a983cb78f6d
changeset: 4448:3a983cb78f6d
parent: 4445:c60be355412e
parent: 4447:6cc8a5492429
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Tue Jun 05 10:25:18 2012 +0100
summary:
Incorporated PEP 405 tidy-ups, and marked as Final.
files:
pep-0405.txt | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/pep-0405.txt b/pep-0405.txt
--- a/pep-0405.txt
+++ b/pep-0405.txt
@@ -4,7 +4,7 @@
Last-Modified: $Date$
Author: Carl Meyer <carl at oddbird.net>
BDFL-Delegate: Nick Coghlan
-Status: Accepted
+Status: Final
Type: Standards Track
Content-Type: text/x-rst
Created: 13-Jun-2011
@@ -285,15 +285,15 @@
Current virtualenv handles include files in this way:
-On POSIX systems where the installed Python's include files are found
-in ``${base_prefix}/include/pythonX.X``, virtualenv creates
-``${venv}/include/`` and symlink ``${base_prefix}/include/pythonX.X``
+On POSIX systems where the installed Python's include files are found in
+``${base_prefix}/include/pythonX.X``, virtualenv creates
+``${venv}/include/`` and symlinks ``${base_prefix}/include/pythonX.X``
to ``${venv}/include/pythonX.X``. On Windows, where Python's include
files are found in ``{{ sys.prefix }}/Include`` and symlinks are not
reliably available, virtualenv copies ``{{ sys.prefix }}/Include`` to
``${venv}/Include``. This ensures that extension modules built and
-installed within the virtualenv will always find the Python header
-files they need in the expected location relative to ``sys.prefix``.
+installed within the virtualenv will always find the Python header files
+they need in the expected location relative to ``sys.prefix``.
This solution is not ideal when an extension module installs its own
header files, as the default installation location for those header
@@ -467,10 +467,10 @@
site-packages directories.
The most notable case is probably `setuptools`_ and its fork
-`distribute`_, which mostly use ``distutils``and ``sysconfig`` APIs,
+`distribute`_, which mostly use ``distutils`` and ``sysconfig`` APIs,
but do use ``sys.prefix`` directly to build up a list of site
-directories for pre-flight checking where ``pth`` files can usefully
-be placed.
+directories for pre-flight checking where ``pth`` files can usefully be
+placed.
Otherwise, a `Google Code Search`_ turns up what appears to be a
roughly even mix of usage between packages using ``sys.prefix`` to
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list