Commits

Ronald Oussoren  committed 5573475

Install all project templates.

  • Participants
  • Parent commits 695147e

Comments (0)

Files changed (1)

File pyobjc/Scripts/make_distrib.py

 
 makeDir(basedir, 'Developer', 'ProjectBuilder Extras', 'Project Templates', 'Application')
 templateDestination = os.path.join(basedir, 'Developer', 'ProjectBuilder Extras',
-                                   'Project Templates', 'Application', 'Cocoa-Python Application')
-shutil.copytree('Project Templates/Cocoa-Python Application', templateDestination)
+                                   'Project Templates', 'Application')
+
+for dname in os.listdir('Project Templates'):
+    if dname == 'CVS': continue
+    path = os.path.join('Project Templates', dname)
+    if not os.path.isdir(path): continue
+    shutil.copytree(path, os.path.join(templateDestination, dname))
 
 print "Setting up developer examples"