Am 07.08.2012 17:54, schrieb Sebastian Hilbert: > So the question basically is how do I tell what content (files/modules > is inside the gnumed.exe) the way I would by listing the content in a > directory when not being frozen. > > > > Hope that makes it somewhat clearer. >
Thanks for the explanation :-)
As you already know the packages plugins and have them hard-coded in
your hook, I suggest the following:
In the hook:
- write the list of plugins into a temporary file
- add this file as a data-file to be included into the package like this
(untested):
datas = [(os.path.join(tempath, 'gnumed-plugins.txt'), "")]
In gnumed, where the plugins are searched, read
os.path.join(sys._MEIPATH, 'gnumed-plugins.txt') to get the list of plugins.
Another hint: You may want to have a look at
hook-django.contrib.sessions.py how "plugins" are collected there.
--
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP
Goebel Consult
http://www.goebel-consult.de
Monatliche Kolumne:
http://www.cissp-gefluester.de/2011-02-fleisige-datensammler-fur-lukratives-geschaeftsmodell-gesucht
Blog: http://www.goebel-consult.de/blog/20050401
Goebel Consult ist Mitglied bei http://www.7-it.de/
smime.p7s
Description: S/MIME Kryptografische Unterschrift
