diff options
author | Greg Ward <gward@python.net> | 2000-06-24 00:18:24 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-06-24 00:18:24 (GMT) |
commit | cb18557de2a3f9b914b18f7b1d87183e3a80e663 (patch) | |
tree | 8afa44ac35d15bf106cffff6025ddf2f6b1f797b /Lib | |
parent | 99eadf4de9bd19653471516f5c33e2f1e40a4655 (diff) | |
download | cpython-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.py | 8 |
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) |