Well, will also be honest, in that I just use python as my secondary focus area, and haven't produced much more than forms of experimental packages, small apps in .exe format, etc., but, for example, here's a download link for a relatively simple package creation file, implementing sort of dependency combination for modules called sound_lib, and accessible_output, which include functions sound_lib.py2exe_datafiles() and accessible_output.py2exe_datafiles() to then render the list of required files, etc., and it also imports keyboard_handler, which is, AFAIK, a form of wrapper for wx keyboard handling, etc., and, the command I use to then execute this build is: python setupDLG.py py2exe
Here's the whole folder/directory of files for this project, including setupDLG.py: https://dl.dropboxusercontent.com/u/13327195/bikeSim.zip And, also not too relevant, but, am using modules from following pages from a guy called Q to implement 2D sound panning, etc., keyboard_handler, and accessible_output, which includes TTS speech - not sure if this server is currently/still online, but anyway - do have the downloaded packages here that you then install using python setup.py install command: http://hg.qwitter-client.net/sound_lib http://hg.qwitter-client.net/accessible_output http://hg.qwitter-client.net/keyboard_handler Lastly, like said, I am in no means in python production as such, so, for example, while the setup script includes some extra files, for sounds, am still fiddling around trying to get them placed in a relevant subdirectory automatically, etc...<smile> (could handle it manually myself inside setupDLG.py, but would rather keep it somewhat automatic) Stay well Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' ----- Original Message ----- From: matatk To: [email protected] Cc: Jacob Kruger ; [email protected] Sent: Thursday, June 06, 2013 10:32 AM Subject: Re: [AGRIP] Re: Python script for windows On Thursday, June 6, 2013 5:58:36 AM UTC+1, Jacob Kruger wrote: Not necessarily relevant either, but, to sort of package chunks of files for use on windows, I use py2exe, and include data_files to combine in/under /dist folder. That'll be of great help for the packaging process, which comes next I hope. I have used cx_Freeze in the past but have come across py2exe too. Glad to see that we have expertise in this area in the group and thanks for posting about the setup that works for you -- I'll check out that approach for packaging. Cheers, Matthew -- You received this message because you are subscribed to the Google Groups "AGRIP Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/agrip-project/39d7fc63-6a6d-4eac-a86b-10bd9d67e643%40googlegroups.com?hl=en-GB. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "AGRIP Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/agrip-project/F5DAED8F50264652B208D3453E4AB08D%40jakeslaptop?hl=en-GB. For more options, visit https://groups.google.com/groups/opt_out.
