commit | aaf1c8dc9e6a3c83b974ebea4b2e3929526689c3 | [log] [tgz] |
---|---|---|
author | Thomas Heller <theller@ctypes.org> | Fri Nov 14 10:28:42 2003 +0000 |
committer | Thomas Heller <theller@ctypes.org> | Fri Nov 14 10:28:42 2003 +0000 |
tree | 1d3d0333126cfd3e2967bff98628dd478f6f832e | |
parent | 780c497972f367df86cf0f6f3b7c2aecf1e078d6 [diff] |
SF #841977 - modulefinder fails to find extension modules in packages The find_all_submodules() method in modulefinder only looks for *.py, *.pyc, and *.pyo files. Python extension modules are only found if they are referenced in import statements somewhere. This patch uses the actual list from imp.get_suffixes(). Backported myself.