Kaydet (Commit) 078fc081 authored tarafından Greg Ward's avatar Greg Ward

Typo fix -- it's 'ext_modules', not 'extensions'.

üst 0ac9b079
......@@ -391,7 +391,7 @@ and nothing else might be:
\begin{verbatim}
from distutils.core import setup, Extension
setup(name = "foo", version = "1.0",
extensions = [Extension("foo", ["foo.c"])])
ext_modules = [Extension("foo", ["foo.c"])])
\end{verbatim}
The \class{Extension} class (actually, the underlying extension-building
......@@ -422,8 +422,8 @@ to \function{setup()}. For example,
\begin{verbatim}
setup(...
ext_package = "pkg",
extensions = [Extension("foo", ["foo.c"]),
Extension("subpkg.bar", ["bar.c"])]
ext_modules = [Extension("foo", ["foo.c"]),
Extension("subpkg.bar", ["bar.c"])]
)
\end{verbatim}
will compile \file{foo.c} to the extension \module{pkg.foo}, and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment