Alexander Nestorov píše v Po 16. 05. 2011 v 01:54 +0200: > Hi, I need some help maing PyInstaller detect some modules. Reading > the docs is justa painful (no examples, really short explanations...)
Could you create bug reports where the doc should be expanded? Some examples of .spec files can be found in the ./buildtests folder. > > So, after searching examples of spec files, and writing my own I got > to this: > > http://pastebin.com/vUKCaxZZ > > The modules that PyInstaller can't find are in E:\\home\\alexandernst\ > \Proyectos\\amsn2\\amsn2\\[backend, core, plugins....]. What am I > doing wrong? What version of pyinstaller do you use? For pyinstaller to find all used libraries it is important to have everything in sys.path. It means using option --paths when generating .spec file. Pyinstaller then tries to resolve module dependencies and include only those modules which are really used by the python code. Are you trying to create windows executables on linux using wine? > > Also, I have another module that I'd like to import (it's a whole > folder), and I really don't know where it should go. What is this another folder meant to be? Something like plugins which are not in the code imported directly by 'import module'? -- 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.
