From c0d812d45475559425390fd9c27e01eefed5cf66 Mon Sep 17 00:00:00 2001 From: Ludovico Bianchi Date: Wed, 15 May 2024 09:27:39 -0500 Subject: [PATCH] Add license and copyright --- COPYRIGHT.md | 19 +++++++++++++++++++ LICENSE.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ getinfo.py | 13 ++++++++++++- 3 files changed, 80 insertions(+), 1 deletion(-) create mode 100644 COPYRIGHT.md create mode 100644 LICENSE.md diff --git a/COPYRIGHT.md b/COPYRIGHT.md new file mode 100644 index 0000000..c00890b --- /dev/null +++ b/COPYRIGHT.md @@ -0,0 +1,19 @@ +Copyright +========= + +WaterTAP Copyright (c) 2020-2023, The Regents of the University of California, +through Lawrence Berkeley National Laboratory, Oak Ridge National +Laboratory, National Renewable Energy Laboratory, and National Energy +Technology Laboratory (subject to receipt of any required approvals from +the U.S. Dept. of Energy). All rights reserved. + +If you have questions about your rights to use or distribute this software, +please contact Berkeley Lab's Intellectual Property Office at +IPO@lbl.gov. + +NOTICE. This Software was developed under funding from the U.S. Department +of Energy and the U.S. Government consequently retains certain rights. As +such, the U.S. Government has been granted for itself and others acting on +its behalf a paid-up, nonexclusive, irrevocable, worldwide license in the +Software to reproduce, distribute copies to the public, prepare derivative +works, and perform publicly and display publicly, and to permit others to do so. diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..0e96729 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,49 @@ +License Agreement +================= + +WaterTAP Copyright (c) 2020-2024, The Regents of the University of California, +through Lawrence Berkeley National Laboratory, Oak Ridge National Laboratory, +National Renewable Energy Laboratory, and National Energy Technology +Laboratory (subject to receipt of any required approvals from the U.S. Dept. +of Energy). All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, +this list of conditions and the following disclaimer. + +2. 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. + +3. Neither the name of the University of California, Lawrence Berkeley +National Laboratory, Oak Ridge National Laboratory, National Renewable +Energy Laboratory, National Energy Technology Laboratory, U.S. Dept. +of Energy 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 OWNER 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. + +You are under no obligation whatsoever to provide any bug fixes, patches, +or upgrades to the features, functionality or performance of the source +code ("Enhancements") to anyone; however, if you choose to make your +Enhancements available either publicly, or directly to Lawrence Berkeley +National Laboratory, without imposing a separate written license agreement +for such Enhancements, then you hereby grant the following license: a +non-exclusive, royalty-free perpetual license to install, use, modify, +prepare derivative works, incorporate into other computer software, +distribute, and sublicense such enhancements or derivative works thereof, +in binary and source code form. diff --git a/getinfo.py b/getinfo.py index b9f65b3..576a579 100644 --- a/getinfo.py +++ b/getinfo.py @@ -1,3 +1,14 @@ +################################################################################# +# WaterTAP Copyright (c) 2020-2024, The Regents of the University of California, +# through Lawrence Berkeley National Laboratory, Oak Ridge National Laboratory, +# National Renewable Energy Laboratory, and National Energy Technology +# Laboratory (subject to receipt of any required approvals from the U.S. Dept. +# of Energy). All rights reserved. +# +# Please see the files COPYRIGHT.md and LICENSE.md for full copyright and license +# information, respectively. These files are also available online at the URL +# "https://github.com/watertap-org/getinfo/" +################################################################################# import argparse import collections import datetime @@ -29,7 +40,7 @@ ) -__version__ = "v0.24.5.15" +__version__ = "v0.24.5.15.1" _log = logging.getLogger("getinfo")