docs: def _copy_config_template(name, title, template, path, key, settings):
          """
          Get and render tarbell_config.py.template from Tarbell default.
          """
          puts("\nCopying configuration file")
          context = settings.config
          context.update({
              "default_context": {
                  "name": name,
                  "title": title,
              },
              "name": name,
              "title": title,
              "template_repo_url": template.get('url'),
              "key": key,
          })
  
          # @TODO refactor this a bit
          if not key:
              spreadsheet_path = os.path.join(path, '_blueprint/', '_spreadsheet.xlsx')
              try:
                  with open(spreadsheet_path, "rb") as f:
                      puts("Copying _blueprint/_spreadsheet.xlsx to tarbell_config.py's DEFAULT_CONTEXT")
                      data = process_xlsx(f.read())
                      if 'values' in data:
                          data = copy_global_values(data)
                      context["default_context"].update(data)
              except IOError:
                  pass
  
          s3_buckets = settings.config.get("s3_buckets")
          if s3_buckets:
              puts("")
              for bucket, bucket_conf in s3_buckets.items():
                  puts("Configuring {0!s} bucket at {1!s}\n".format(
                      colored.green(bucket),
                      colored.yellow("{0}/{1}".format(bucket_conf['uri'], name))
                  ))
  
          puts("\n- Creating {0!s} project configuration file".format(
              colored.cyan("tarbell_config.py")
          ))
          template_dir = os.path.dirname(pkg_resources.resource_filename("tarbell", "templates/tarbell_config.py.template"))
          loader = jinja2.FileSystemLoader(template_dir)
          env = jinja2.Environment(loader=loader)
          env.filters["pprint_lines"] = pprint_lines  # For dumping context
          content = env.get_template('tarbell_config.py.template').render(context)
          codecs.open(os.path.join(path, "tarbell_config.py"), "w", encoding="utf-8").write(content)
          puts("\n- Done copying configuration file")