If I add that code to the end of support/rthooks/sphinx.py, I get:
Traceback (most recent call last):
File "<string>", line 55, in <module>
File "C:\Users\welchr\Snipper\dist\pyinstaller-1.5\iu.py", line 436,
in importHook
mod = _self_doimport(nm, ctx, fqname)
File "C:\Users\welchr\Snipper\dist\pyinstaller-1.5\iu.py", line 521,
in doimport
exec co in mod.__dict__
File "C:\Users\welchr\Snipper\dist\build\pyi.win32\snipper-
win32\outPYZ1.pyz/sphinx.pycode", line 26, in <module>
File "C:\Users\welchr\Snipper\dist\build\pyi.win32\snipper-
win32\outPYZ1.pyz/sphinx.pycode.pgen2.driver", line 126, in
load_grammar
File "C:\Users\welchr\Snipper\dist\build\pyi.win32\snipper-
win32\outPYZ1.pyz/sphinx.pycode.pgen2.pgen", line 383, in
generate_grammar
File "C:\Users\welchr\Snipper\dist\build\pyi.win32\snipper-
win32\outPYZ1.pyz/sphinx.pycode.pgen2.pgen", line 15, in __init__
IOError: [Errno 2] No such file or directory: 'C:\\Users\\welchr\
\Snipper\\dist\\build\\pyi.win32\\snipper-win32\\outPYZ1.pyz\
\Grammar.txt'
I'll try adding to the beginning of my code and see what happens next,
but my guess is the same thing. It would appear iu.py's importHook is
getting called, which I wasn't expecting.
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.