Giovanni Bajo wrote: > What I would like to do is something like this: > > - Provide an unified model to access data files (for both onedir and > onefile) > - Of course data files will be specified as DATA in spec. > - In onefile, data files should be automatically extracted from the > executable like support/unpackTK.py does. Basically, this TK-specific support > would need to be generalized.
Looking at unpackTK, it's pretty straightforward; I think I could adapt it to 'unpack' my own data folder hierarchies. One thought: on the build side, you have these nice facilities like EXE, COLLECT, etc., but nothing for the "deploy" side. Maybe something like UNPACK, ENVIRONMENT, etc. could be defined, that would build specs for deployment into the distributable, and they'd be read and executed on the target side. FWIW, -- Don Dwiggins Advanced Publishing Technology --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
