[Python-checkins] devguide: Add comment about avoiding --enable-shared for uninstalled builds. This should

ned.deily python-checkins at python.org
Thu May 16 23:23:56 CEST 2013


http://hg.python.org/devguide/rev/3d523f0c0a9d
changeset:   620:3d523f0c0a9d
user:        Ned Deily <nad at acm.org>
date:        Thu May 16 14:23:47 2013 -0700
summary:
  Add comment about avoiding --enable-shared for uninstalled builds.  This should also cause the resources ref link in the Editors and Tools section to be updated (Issue17952).

files:
  setup.rst |  6 +++++-
  1 files changed, 5 insertions(+), 1 deletions(-)


diff --git a/setup.rst b/setup.rst
--- a/setup.rst
+++ b/setup.rst
@@ -163,7 +163,11 @@
 of Python! The interpreter will realize where it is being run from
 and thus use the files found in the working copy.  If you are worried
 you might accidentally install your working copy build, you can add
-``--prefix=/tmp/python`` to the configuration step.
+``--prefix=/tmp/python`` to the configuration step.  When running from your
+working directory, it is best to avoid using the ``--enable-shared`` flag
+to ``configure``; unless you are very careful, you may accidentally run
+with code from an older, installed shared Python library rather than from
+the interpreter you just built.
 
 .. _issue tracker: http://bugs.python.org
 

-- 
Repository URL: http://hg.python.org/devguide


More information about the Python-checkins mailing list