On Friday 22 of November 2013 15:12:00 Jordan Willis wrote: > readme_text = Tkinter.Text(readme_frame) > self._directory_name = os.path.dirname(os.path.abspath(sys.argv[0])) > for line in open(self._directory_name + '/README_gui.txt').readlines(): > readme_text.insert(END, line) > readme_text.see(END)
This code simply won't work in onefile mode. This will still try to load the readme from the directory where the exe is. You need to read the readme from the temp dir where all bundled files are unpacked. Look for MEIPASS in doc and try archive_viewer to examine that the readme is really bundled inside the .exe file. -- 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. For more options, visit https://groups.google.com/groups/opt_out.
