diff options
author | Éric Araujo <merwok@netwok.org> | 2012-02-05 12:49:59 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2012-02-05 12:49:59 (GMT) |
commit | cd0d951a707c0dbecfd45c14b0e6ec7bf83103a2 (patch) | |
tree | 3e40b36621bfc2f4140b612d8a6d2ed01d1f9e39 /Doc/extending | |
parent | be095b3b9857a5b949dd23b89dac5f5151b252d5 (diff) | |
parent | cd2a6033ac0bafd69a7cba2d132e092127acc895 (diff) | |
download | cpython-cd0d951a707c0dbecfd45c14b0e6ec7bf83103a2.zip cpython-cd0d951a707c0dbecfd45c14b0e6ec7bf83103a2.tar.gz cpython-cd0d951a707c0dbecfd45c14b0e6ec7bf83103a2.tar.bz2 |
Merge edits from 3.2 (#13716, #1040439, #2945, #13770, #6715)
Diffstat (limited to 'Doc/extending')
-rw-r--r-- | Doc/extending/embedding.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/extending/embedding.rst b/Doc/extending/embedding.rst index ec93a16..3143c99 100644 --- a/Doc/extending/embedding.rst +++ b/Doc/extending/embedding.rst @@ -271,7 +271,7 @@ it. 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 @@ be directly useful to you: 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:: |