its hard for me to comment much, I'm running a forked version of py2deb (I need to get my changes integrated upstream...). I think py2deb supports both specifying the a file for the scripts or taking in the script body. I've not tried specifying a file but I have successfully specified the body of the script and have been doing so long before I forked py2deb.