write a python script to generate tarball
Merge pull request #1100 from richardcypher/makeheader

[tools]write a python script to generate tarball