On Fri, Feb 6, 2009 at 11:07 PM, David Grant wrote:
> I want sources in my dist directory, so that the tracebacks show
> useful information, like where exactly in the code the error occurred.
> I found out about the skip-archive option, so none of the code is
> going into library.zip, it's all going into the dist directory. Now I
> just need the *.py files to get copied at the same time that the *.pyc
> files get copied. Anyone know where I should look in the distutils
> code for where this is happening? I'm assuming I can just override
> some functionality somewhere. Or if anyone knows a better idea let me
> know...perhaps a way to include more source info in the byte-code
Try to put them in using the data_file option (although I am not sure
it will do what you ask). You may also want to take a look at my
For an easier way to handle py2exe (and other executable builders) projects.
"Imagination Is The Only Weapon In The War Against Reality."