From 36efd07d374d474ebdf6de205469b7d4e6f3dc3c Mon Sep 17 00:00:00 2001 From: jlenain Date: Wed, 22 Mar 2023 14:41:04 +0100 Subject: [PATCH 1/3] Align license to the one of nectarchain (BSD-3-Clause) and add license file. Needed for preparing a conda recipe for conda-forge staging. --- LICENSE.md | 27 +++++++++++++++++++++++++++ setup.cfg | 7 +++---- 2 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 LICENSE.md diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..587d5f7 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,27 @@ +Copyright (c) 2023, NectarCAM collaboration +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of cta-lstchain nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/setup.cfg b/setup.cfg index 2ad9b97..d95b7b8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,9 +3,8 @@ name = ctapipe_io_nectarcam description = ctapipe plugin for reading NectarCam files long_description = file: README.md long_description_content_type = text/markdown; charset=UTF-8 -author = Franca Cassol -author_email = cassol@cppm.in2p3.fr -license = MIT +author = NectarCAM collaboration +license = BSD-3-Clause project_urls = Bug Tracker = https://github.com/cta-observatory/ctapipe_io_nectarcam/issues @@ -13,7 +12,7 @@ project_urls = classifiers = Development Status :: 3 - Alpha - License :: OSI Approved :: MIT License + License :: OSI Approved :: BSD License Intended Audience :: Science/Research Topic :: Scientific/Engineering :: Astronomy Topic :: Scientific/Engineering :: Physics From b9ca391c606f805339f8168c34014a3c87d98d18 Mon Sep 17 00:00:00 2001 From: jlenain Date: Wed, 22 Mar 2023 22:11:25 +0100 Subject: [PATCH 2/3] Please codacy --- LICENSE.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 587d5f7..25e766e 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -4,14 +4,14 @@ All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -* Redistributions of source code must retain the above copyright notice, this + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, + * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -* Neither the name of cta-lstchain nor the names of its + * Neither the name of cta-lstchain nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. From 4934f26e065e3710ceb5d078e0022dd64d8cfe1f Mon Sep 17 00:00:00 2001 From: jlenain Date: Thu, 23 Mar 2023 14:26:04 +0100 Subject: [PATCH 3/3] Fixed typo and indent. --- LICENSE.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 25e766e..bd1b6c3 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -4,16 +4,16 @@ All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. +* Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. +* Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. - * Neither the name of cta-lstchain nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. +* Neither the name of ctapipe_io_nectarcam nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE