diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-13 00:20:49 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-08-13 00:20:49 (GMT) |
commit | bfa5f0bb5df627e61b8d5574365b98bdee78398c (patch) | |
tree | 490409330e5b65cb940d09247cd39fc38f3a122a /Doc/dist | |
parent | 1872b1c01f343f4cbfa7696ce95beae8278ce210 (diff) | |
download | cpython-bfa5f0bb5df627e61b8d5574365b98bdee78398c.zip cpython-bfa5f0bb5df627e61b8d5574365b98bdee78398c.tar.gz cpython-bfa5f0bb5df627e61b8d5574365b98bdee78398c.tar.bz2 |
SF bug #1539336, distutils example code missing
Diffstat (limited to 'Doc/dist')
-rw-r--r-- | Doc/dist/dist.tex | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/dist/dist.tex b/Doc/dist/dist.tex index c1b72ad..e8ae96f 100644 --- a/Doc/dist/dist.tex +++ b/Doc/dist/dist.tex @@ -1992,6 +1992,7 @@ If the \module{foo} extension belongs in the root package, the setup script for this could be \begin{verbatim} from distutils.core import setup +from distutils.extension import Extension setup(name='foobar', version='1.0', ext_modules=[Extension('foo', ['foo.c'])], @@ -2006,6 +2007,7 @@ the \module{foopkg} package simply by changing the name of the extension: \begin{verbatim} from distutils.core import setup +from distutils.extension import Extension setup(name='foobar', version='1.0', ext_modules=[Extension('foopkg.foo', ['foo.c'])], |