I noticed that it would choke on files that aren't syntactically correct. I modified your code to just skip those files and issue a warning. Also I added an option for copying dll files and mex files. I know its a nuance as I could have used the 'copyDirectStrings' options but I found that might be very common to copy those files. Here is the patch corresponding to my modifications:
http://andreavaccaro.org/files/deploypcode.patch
if you want to include this patch into the code feel free to modify at your wish
Wonderful work, saved me a lot of time!!!
I noticed that it would choke on files that aren't syntactically correct. I modified your code to just skip those files and issue a warning. Also I added an option for copying dll files and mex files. I know its a nuance as I could have used the 'copyDirectStrings' options but I found that might be very common to copy those files. Here is the patch corresponding to my modifications:
http://andreavaccaro.org/files/deploypcode.patch
if you want to include this patch into the code feel free to modify at your wish
cheers and again thanks for your code
Comment only