summaryrefslogtreecommitdiffstats
path: root/Doc/dist
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-08-13 00:20:49 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-08-13 00:20:49 (GMT)
commitbfa5f0bb5df627e61b8d5574365b98bdee78398c (patch)
tree490409330e5b65cb940d09247cd39fc38f3a122a /Doc/dist
parent1872b1c01f343f4cbfa7696ce95beae8278ce210 (diff)
downloadcpython-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.tex2
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'])],