summaryrefslogtreecommitdiffstats
path: root/Tools/freeze
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-10-03 16:43:15 (GMT)
committerGuido van Rossum <guido@python.org>1994-10-03 16:43:15 (GMT)
commit011813444cc1cae2d60a29750e719743edaa4b14 (patch)
tree8a2573c26f9faf49f21bde3afe7cded637081cfe /Tools/freeze
parent619e1beda9be9b9a84d3949e4537e3dd6d62f233 (diff)
downloadcpython-011813444cc1cae2d60a29750e719743edaa4b14.zip
cpython-011813444cc1cae2d60a29750e719743edaa4b14.tar.gz
cpython-011813444cc1cae2d60a29750e719743edaa4b14.tar.bz2
Don't search for *.so modules since we can't handle them!
Diffstat (limited to 'Tools/freeze')
-rw-r--r--Tools/freeze/findmodules.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/freeze/findmodules.py b/Tools/freeze/findmodules.py
index 177f1fd..5041574 100644
--- a/Tools/freeze/findmodules.py
+++ b/Tools/freeze/findmodules.py
@@ -95,8 +95,7 @@ def scanfile(filename):
builtins = sys.builtin_module_names
if 'sys' not in builtins: builtins.append('sys')
-# XXX this table may have to be changed depending on your platform:
-tails = ['.so', 'module.so', '.py', '.pyc']
+tails = ['.py', '.pyc']
def findmodule(modname, path = sys.path):
if modname in builtins: return '<builtin>'