template-python icon indicating copy to clipboard operation
template-python copied to clipboard

Make the license fully selectable by cookiecutter if possible

Open jacebrowning opened this issue 11 years ago • 1 comments

Also, MIT is probably a better default license.

jacebrowning avatar Oct 31 '14 01:10 jacebrowning

I think you could do this using Jinja template test statements

{% if cookiecutter.license == 'MIT' %}
MIT LICENSE HERE
{% else %}
... other stuff...
{% endif %}

joshfriend avatar Nov 13 '14 16:11 joshfriend

#208 MIT default with options for Apache-2.0, AGPL-3.0-only, and Unlicense.

sheplecjs avatar Jan 28 '23 00:01 sheplecjs