From: Greg Ward Date: Sat, 24 Jun 2000 00:18:24 +0000 (+0000) Subject: Revised docstring so 'sources' isn't necessarily all C/C++ files (to X-Git-Tag: v2.0b1~1436 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb18557de2a3f9b914b18f7b1d87183e3a80e663;p=python Revised docstring so 'sources' isn't necessarily all C/C++ files (to accomodate SWIG interface files, resource files, etc.). --- diff --git a/Lib/distutils/extension.py b/Lib/distutils/extension.py index 9d2a6fa15c..f0f68b9390 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)