From b5ae65f53882ecaeee0a9da0294a2258145a5572 Mon Sep 17 00:00:00 2001 From: William Adams Date: Fri, 1 Apr 2016 10:06:08 +0100 Subject: [PATCH] Template license in README.rst based on user's choice. --- CONTRIBUTORS.rst | 5 ++++- {{cookiecutter.repo_name}}/README.rst | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst index 7a6e14f9..f6ac35a3 100644 --- a/CONTRIBUTORS.rst +++ b/CONTRIBUTORS.rst @@ -64,7 +64,8 @@ Listed in alphabetical order. Cullen Rhodes `@c-rhodes`_ Daniele Tricoli `@eriol`_ David Díaz `@ddiazpinto`_ @DavidDiazPinto - Davur Clementsen `@dsclementsen`_ @davur + Davur Clementsen `@dsclementsen`_ @davur + Dónal Adams `@epileptic-fish`_ Eraldo Energy `@eraldo`_ Eyad Al Sibai `@eyadsibai`_ Felipe Arruda `@arruda`_ @@ -123,6 +124,8 @@ Listed in alphabetical order. .. _@ChrisPappalardo: https://github.com/ChrisPappalardo .. _@Collederas: https://github.com/Collederas .. _@ddiazpinto: https://github.com/ddiazpinto +.. _@dsclementsen: https://github.com/dsclementsen +.. _@epileptic-fish: https://gihub.com/epileptic-fish .. _@eraldo: https://github.com/eraldo .. _@eriol: https://github.com/eriol .. _@eyadsibai: https://github.com/eyadsibai diff --git a/{{cookiecutter.repo_name}}/README.rst b/{{cookiecutter.repo_name}}/README.rst index c57a953a..b1d823fc 100644 --- a/{{cookiecutter.repo_name}}/README.rst +++ b/{{cookiecutter.repo_name}}/README.rst @@ -4,7 +4,9 @@ {{cookiecutter.description}} -LICENSE: BSD +{% if cookiecutter.open_source_license != "Not open source" %} +LICENSE: {{cookiecutter.open_source_license}} +{% endif %} Settings ------------