From cb18557de2a3f9b914b18f7b1d87183e3a80e663 Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Sat, 24 Jun 2000 00:18:24 +0000 Subject: [PATCH] Revised docstring so 'sources' isn't necessarily all C/C++ files (to accomodate SWIG interface files, resource files, etc.). --- Lib/distutils/extension.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Lib/distutils/extension.py b/Lib/distutils/extension.py index 9d2a6fa15cc..f0f68b93902 100644 --- a/Lib/distutils/extension.py +++ b/Lib/distutils/extension.py @@ -31,9 +31,11 @@ class Extension: the full name of the extension, including any packages -- ie. *not* a filename or pathname, but Python dotted name sources : [string] - list of C/C++ source filenames, relative to the distribution - root (where the setup script lives), in Unix form - (slash-separated) for portability + list of source filenames, relative to the distribution root + (where the setup script lives), in Unix form (slash-separated) + for portability. Source files may be C, C++, SWIG (.i), + platform-specific resource files, or whatever else is recognized + by the "build_ext" command as source for a Python extension. include_dirs : [string] list of directories to search for C/C++ header files (in Unix form for portability)