The PyInstaller 2.1 manual is a significant improvement. The early parts can't be tested until 2.1 is available (eg. install with pip). Same with some of the configuration options which have changed from 2.0 eg. pathex, which tripped me up pretty badly and so cannot test until 2.1 is out. Here are some initial thoughts:
a. http://htmlpreview.github.io/?https://github.com/tallforasmurf/pyinstaller/blob/master/doc/Manual.html#id45 Could mention not to forget to turn off --debug and -v for production use or when distributing to end-users. b. http://htmlpreview.github.io/?https://github.com/tallforasmurf/pyinstaller/blob/master/doc/Manual.html#id63 hook-xml.dom.py doesn't have any hiddenimports. How about using hook-cPickle.py as the example which has hiddenimports=['copy_reg', 'types', 'string']. An error that I made was to create a hook file and also list the hiddenimports in the .spec file eg. hook-json.py > hiddenimports = ['json', 'json.decoder', 'json.encoder', > 'json.scanner'] Did this: a = Analysis([boot.py"], > pathex=[...//], > hiddenimports=['json', 'json.decoder', 'json.encoder', 'json.scanner'], > hookspath=["//path//to//my//hooks//"] > ) instead of: a = Analysis(["boot.py"], > pathex=[...//], > hiddenimports=[], > hookspath=["//path//to//my//hooks//"] > ) Can emphasize that given a project hookspath (or the new --additional-hooks-dir), PyInstaller will automatically search for hidden imports in that folder. c. Example One example (with at least two source file modules) running through the manual would help a lot. Hth. -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyinstaller?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
