[Python-checkins] cpython (3.2): Markup improvements for the embedding CPython doc patch from #1040439
eric.araujo
python-checkins at python.org
Sun Feb 5 13:50:12 CET 2012
http://hg.python.org/cpython/rev/79e8de78abd0
changeset: 74787:79e8de78abd0
branch: 3.2
user: Éric Araujo <merwok at netwok.org>
date: Sun Jan 15 02:31:58 2012 +0100
summary:
Markup improvements for the embedding CPython doc patch from #1040439
files:
Doc/extending/embedding.rst | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/Doc/extending/embedding.rst b/Doc/extending/embedding.rst
--- a/Doc/extending/embedding.rst
+++ b/Doc/extending/embedding.rst
@@ -271,7 +271,7 @@
To find out the required compiler and linker flags, you can execute the
:file:`python{X.Y}-config` script which is generated as part of the
-installation process (a generic :file:`python3-config` script is also
+installation process (a :file:`python3-config` script may also be
available). This script has several options, of which the following will
be directly useful to you:
@@ -294,9 +294,10 @@
example.
If this procedure doesn't work for you (it is not guaranteed to work for
-all Unix-like platforms; however, we welcome bug reports at
-http://bugs.python.org), you will have to read your system's documentation
-about dynamic linking and/or examine Python's Makefile and compilation
+all Unix-like platforms; however, we welcome :ref:`bug reports <reporting-bugs>`)
+you will have to read your system's documentation about dynamic linking and/or
+examine Python's :file:`Makefile` (use :func:`sysconfig.get_makefile_filename`
+to find its location) and compilation
options. In this case, the :mod:`sysconfig` module is a useful tool to
programmatically extract the configuration values that you will want to
combine together::
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list