Václav Šmilauer píše v St 12. 12. 2012 v 14:08 +0100: > > It seems that the issue is related to > > http://www.pyinstaller.org/ticket/507 > > > > PyInstaller does not use anything from PEP302. It still uses it's > own > > old mechanism to load python modules in frozen executables. > > > Could you provide some code examples to play with? > > Yes, it is definitely related, and it seems (after looking at > setuptools' pkg_resources.py) that pkg_resources is very flexible in > the > sense that it could be probably used by pyInstaller in the future. In > the attachment is test-case for loading the resources. I think it is > pretty self-explanatory. Note that I only concentrated at loading > resources, nothing else.
Hi Vaclav, I implemented new import mechanism for pyinstaller that is now based on PEP302. The resource could work with this new code or it should not be hard to fix that. Could you please do some testing of my branch with that new experimental code? https://github.com/matysek/pyinstaller Thanks Best regards Martin -- 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.
