From 95a6991ec797a78e975049c55085743e1db8b283 Mon Sep 17 00:00:00 2001 From: Marianne Corvellec Date: Thu, 15 Mar 2018 10:54:10 -0400 Subject: [PATCH] Offer accurate, open-ended licensing suggestions. (#103) * Offer accurate, open-ended licensing suggestions. * Sync value change in LICENSE file. * Make third option explicit. --- cookiecutter.json | 2 +- {{ cookiecutter.repo_name }}/LICENSE | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cookiecutter.json b/cookiecutter.json index 87bd78a..5f70a2c 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -3,7 +3,7 @@ "repo_name": "{{ cookiecutter.project_name.lower().replace(' ', '_') }}", "author_name": "Your name (or your organization/company/team)", "description": "A short description of the project.", - "open_source_license": ["MIT", "BSD", "Not open source"], + "open_source_license": ["MIT", "BSD-3-Clause", "No license file"], "s3_bucket": "[OPTIONAL] your-bucket-for-syncing-data (do not include 's3://')", "aws_profile": "default", "python_interpreter": ["python", "python3"] diff --git a/{{ cookiecutter.repo_name }}/LICENSE b/{{ cookiecutter.repo_name }}/LICENSE index 413f8af..a811c7b 100644 --- a/{{ cookiecutter.repo_name }}/LICENSE +++ b/{{ cookiecutter.repo_name }}/LICENSE @@ -7,7 +7,7 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -{% elif cookiecutter.open_source_license == 'BSD' %} +{% elif cookiecutter.open_source_license == 'BSD-3-Clause' %} Copyright (c) {% now 'utc', '%Y' %}, {{ cookiecutter.author_name }} All rights reserved.