> Index: modulefinder.py > =================================================================== > RCS file: /cvsroot/python/python/dist/src/Lib/modulefinder.py,v > retrieving revision 1.7 > retrieving revision 1.8 > diff -C2 -d -r1.7 -r1.8 > *** modulefinder.py 18 Jul 2003 15:31:40 -0000 1.7 > --- modulefinder.py 14 Nov 2003 10:28:42 -0000 1.8 > *************** > *** 211,215 **** > return > modules = {} > ! suffixes = [".py", ".pyc", ".pyo"] > for dir in m.__path__: > try: > --- 211,220 ---- > return > modules = {} > ! # 'suffixes' used to be a list hardcoded to [".py", ".pyc", ".pyo"]. > ! # But we must also collect Python extension modules - although > ! # we cannot separate normal dlls from Python extensions. > ! suffixes = [] > ! for triple in imp.get_suffixes(): > ! suffixes.append(triple[0]) > for dir in m.__path__: > try: Have you tested freeze after this? I'm not sure that receiving extension module files won't confuse it. --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4