From 89e9a55683f3981d4486b7a4e2f4fcc7b5e1bc0c Mon Sep 17 00:00:00 2001 From: Tobias Raabe Date: Wed, 16 Mar 2022 14:25:44 +0100 Subject: [PATCH] Remove LICENSE from MANIFEST.in if no license is created. --- {{cookiecutter.project_slug}}/MANIFEST.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/{{cookiecutter.project_slug}}/MANIFEST.in b/{{cookiecutter.project_slug}}/MANIFEST.in index 97dc9c8..5886e61 100644 --- a/{{cookiecutter.project_slug}}/MANIFEST.in +++ b/{{cookiecutter.project_slug}}/MANIFEST.in @@ -1,6 +1,6 @@ include CITATION -include LICENSE - +{% if cookiecutter.open_source_license == 'Not open source' %}include LICENSE +{% endif %} exclude *.yaml exclude *.yml exclude tox.ini