Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0118134

Browse files
committed
Don't search for *.so modules since we can't handle them!
1 parent 619e1be commit 0118134

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Tools/freeze/findmodules.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ def scanfile(filename):
9595

9696
builtins = sys.builtin_module_names
9797
if 'sys' not in builtins: builtins.append('sys')
98-
# XXX this table may have to be changed depending on your platform:
99-
tails = ['.so', 'module.so', '.py', '.pyc']
98+
tails = ['.py', '.pyc']
10099

101100
def findmodule(modname, path = sys.path):
102101
if modname in builtins: return '<builtin>'

0 commit comments

Comments
 (0)