Commits

Sebastian Wiesner committed 6256d1e

Fixed hard-coded template filename

Comments (0)

Files changed (1)

     fp = open(os.path.join('_template', filename), 'r')
     tmp = string.Template(fp.read())
     fp.close()
-    fp = open(os.path.join(name, 'setup.py'), 'w')
+    fp = open(os.path.join(name, filename), 'w')
     fp.write(tmp.safe_substitute(**globals()))
     fp.close()