Hi, I've done some work here: https://github.com/ssorgatem/pyinstaller There are working PySide hooks and rthook, and some incomplete work for OpenBabel. For OpenBabel, I need to load plugins but I don't know how to do that from the hook. Is it just like a .spec file? I've seen how to include a whole directory as data from the hook, but it preserves the name from the original folder. Is there a way to change it? (For example, in the case of OpenBabel, the data directory is under c:/Program Files/OpenBabel-$version/data, but on linux it is /usr/share/openbabel/$version/lib or similar, which makes the archive to have a subdirectory named 'data' if run under windows, or 'lib' or something else if run under linux, which makes it difficult for the rthook to guess where the data directory is)
2011/12/20 Martin Zibricky <[email protected]> > Adrià Cereto Massagué píše v Út 20. 12. 2011 v 07:23 -0800: > > Where could i find directions on how to write a runtime hook fro > > OpenBabel? > > Hi, there is not much doc for runtime hook. But following other examples > should be sufficient. > > Runtime hook is basically just code which should be run at runtime > before importing a specific module. > > See files: > > ./trunk/support/rthooks.dat > ./trunk/support/rthooks/pyi_rth_babel.py > > -- > 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. > > -- *Adrià Cereto Massagué* Ph.D Student Nutrigenomics Research Group Biochemistry and Biotechnology Department Building N4, Campus Sescelades Universitat Rovira i Virgili Tarragona, Catalonia Languages: Català, Español, English, Français, Deutsch, Português Nota importante <http://www.gnu.org/philosophy/no-word-attachments.es.html>| Important Notice <http://www.gnu.org/philosophy/no-word-attachments.html> -- 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.
