@@ -0,0 +1,1053 @@
+%22%22%22%0A%3CProgram%3E%0A  initialize.py %0A  %0A%3CDate Started%3E%0A  July 5th, 2014%0A%0A%3CAuthor%3E%0A  Chintan Choksi%0A%0A%3CPurpose%3E%0A  This script does a git check-out of all the dependent repositories %0A  to the current directory.%0A  %0A%3CUsage%3E%0A  * Clone the repository you would like to build on your machine, e.g. using %0A      %60%60git clone https://github.com/SeattleTestbed/seash''%0A  * Change into the %60%60scripts'' subdirectory%0A  * Run this script: %0A      %60%60python initialize.py''%0A  * The dependencies will be checked out into the current directory.%0A   %0A%22%22%22%0A%0Aimport subprocess%0Aimport os%0A%0Aconfig_file = open(%22config_initialize.txt%22)%0A%0Afor line in config_file.readlines():%0A  # Ignore comments and blank lines%0A  if line.startswith(%22#%22) or line=='%5Cn':%0A    continue%0A%0A  # If we end up here, the line contains a Git URL (+options?) for us to clone%0A  print %22Checking out repo from%22, line.split()%5B0%5D, %22...%22%0A  pr = subprocess.Popen(%22git clone %22 + line, cwd = os.getcwd(), shell = True, %0A     stdout = subprocess.PIPE, stderr = subprocess.PIPE )%0A  (out, error) = pr.communicate()%0A  print %22Done!%22%0A%0A

Add initialize.py