summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-06-24 00:18:24 (GMT)
committerGreg Ward <gward@python.net>2000-06-24 00:18:24 (GMT)
commitcb18557de2a3f9b914b18f7b1d87183e3a80e663 (patch)
tree8afa44ac35d15bf106cffff6025ddf2f6b1f797b /Lib
parent99eadf4de9bd19653471516f5c33e2f1e40a4655 (diff)
downloadcpython-cb18557de2a3f9b914b18f7b1d87183e3a80e663.zip
cpython-cb18557de2a3f9b914b18f7b1d87183e3a80e663.tar.gz
cpython-cb18557de2a3f9b914b18f7b1d87183e3a80e663.tar.bz2
Revised docstring so 'sources' isn't necessarily all C/C++ files (to
accomodate SWIG interface files, resource files, etc.).
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/extension.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/Lib/distutils/extension.py b/Lib/distutils/extension.py
index 9d2a6fa..f0f68b9 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)