mirror of https://github.com/python/cpython
Fix broken reference, minor clarification.
This commit is contained in:
parent
742dc774af
commit
4e7655558c
|
@ -414,18 +414,20 @@ for more information.
|
||||||
|
|
||||||
There are two more things to do before you can use your new extension:
|
There are two more things to do before you can use your new extension:
|
||||||
compiling and linking it with the Python system. If you use dynamic
|
compiling and linking it with the Python system. If you use dynamic
|
||||||
loading, the details depend on the style of dynamic loading your
|
loading, the details may depend on the style of dynamic loading your
|
||||||
system uses; see the chapters about building extension modules on
|
system uses; see the chapters about building extension modules
|
||||||
\UNIX{} (chapter \ref{building-on-unix}) and Windows (chapter
|
(chapter \ref{building}) and additional information that pertains only
|
||||||
\ref{building-on-windows}) for more information about this.
|
to building on Windows (chapter \ref{building-on-windows}) for more
|
||||||
% XXX Add information about MacOS
|
information about this.
|
||||||
|
% XXX Add information about Mac OS
|
||||||
|
|
||||||
If you can't use dynamic loading, or if you want to make your module a
|
If you can't use dynamic loading, or if you want to make your module a
|
||||||
permanent part of the Python interpreter, you will have to change the
|
permanent part of the Python interpreter, you will have to change the
|
||||||
configuration setup and rebuild the interpreter. Luckily, this is
|
configuration setup and rebuild the interpreter. Luckily, this is
|
||||||
very simple: just place your file (\file{spammodule.c} for example) in
|
very simple on \UNIX: just place your file (\file{spammodule.c} for
|
||||||
the \file{Modules/} directory of an unpacked source distribution, add
|
example) in the \file{Modules/} directory of an unpacked source
|
||||||
a line to the file \file{Modules/Setup.local} describing your file:
|
distribution, add a line to the file \file{Modules/Setup.local}
|
||||||
|
describing your file:
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
spam spammodule.o
|
spam spammodule.o
|
||||||
|
|
Loading…
Reference in New Issue