> When you try to 'freeze' an application module, >and Jason's 'path' module is present in any of the directories that are >looked at by freeze's module finder (your app doesn't have to import >it), freeze goes into an infinite loop of imports, eventually getting a >'maximum recursion depth' exception. This seems to be related to >freeze getting confused between 'os.path' and Jason's 'path'.
This is a bug in distutils. Thomas Hellers py2exe encounters the same bug. As much as I remember our conversation, he submitted a patch to distutils. In the meanwhile I renamed path.py to jpath.py, usings Jason's first letter in a motion of honour while circumventing this bug. Harald -- http://mail.python.org/mailman/listinfo/python-list