@@ -0,0 +1,645 @@
+#!/usr/bin/python%0Aimport os%0Aimport shutil%0Aimport glob%0A%0AdistPath = %22./dist/standalone-collector%22%0Aif not os.path.exists(distPath):%0A  os.makedirs(distPath)%0Aif not os.path.exists(distPath + %22/simplejson%22):%0A  os.mkdir(distPath + %22/simplejson%22)%0A%0Ashutil.copy(%22./docs/README-standalone-collector.txt%22, distPath + %22/README.txt%22)%0A%0Atoplevel = %5B%22standalone_collector.py%22, %22config.py%22, %22uuid.py%22%5D%0Afor name in toplevel:%0A  shutil.copy(%22./webapp/socorro/lib/%22 + name, distPath + %22/%22 + name)%0A%0AsimplejsonFiles = glob.glob(%22./webapp/socorro/lib/simplejson/*.py%22)%0Afor name in simplejsonFiles:%0A  shutil.copy(name, distPath + %22/simplejson/%22 + os.path.basename(name))%0A

Add distribution script for standalone collector