summaryrefslogtreecommitdiff
path: root/extension.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-06-24 00:18:24 +0000
committerGreg Ward <gward@python.net>2000-06-24 00:18:24 +0000
commit0b55a059cd131e263c36fb412c5556f9e32d2437 (patch)
tree9b1cf476cc4ac117ec092e1fbb17b7a53f48b787 /extension.py
parentae6b225478590a6a5d5462307ff1bb565980619e (diff)
downloadpython-setuptools-git-0b55a059cd131e263c36fb412c5556f9e32d2437.tar.gz
Revised docstring so 'sources' isn't necessarily all C/C++ files (to
accomodate SWIG interface files, resource files, etc.).
Diffstat (limited to 'extension.py')
-rw-r--r--extension.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/extension.py b/extension.py
index 9d2a6fa1..f0f68b93 100644
--- a/extension.py
+++ b/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)