Ok, forget about that, seem i got pyc not deleted. Sorry :) 2011/5/19 Mathieu Virbel <[email protected]>: > Hi Hartmut, > > This is exactly where i am right now. > I've pushed make a new hooks + rthooks in order to relocate correctly > Kivy datas. > However, when i'm adding: > > d = kivy_data_dir() # which is something like kivy/kivy/data > datas = [ > (d, 'kivy_data/data'), > ] > > The destination directory is data, not kivy_data/data. The first > argument is the pattern for glob(), and the second should be the base > dir for destination right ? > > Mathieu > > 2011/5/19 Hartmut Goebel <[email protected]>: >> Am 19.05.2011 14:14, schrieb Mathieu Virbel: >>> I think adding an hook can be ok, but i don't know how to add custom >>> data files in the hook: hiddenimports works for python modules, but >>> how about hiddendata or something like that ? >> >> You can simply add a `datas` entry into the hook file. Some examples are: >> PyInstaller/hooks/hook-babel.py >> PyInstaller/hooks/hook-matplotlib.py >> PyInstaller/hooks/hook-PyQt4.phonon.py >> >> (Get other examples: grep -l data PyInstaller/hooks/*.py | xargs less) >> >> -- >> Schönen Gruß - Regards >> Hartmut Goebel >> Dipl.-Informatiker (univ.), CISSP, CSSLP >> >> Goebel Consult >> Spezialist für IT-Sicherheit in komplexen Umgebungen >> http://www.goebel-consult.de >> >> Monatliche Kolumne: http://www.cissp-gefluester.de/ >> Goebel Consult mit Mitglied bei http://www.7-it.de >> >> >> >
-- 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.
