From aae82e52fccd0a40dba7fa23e73129b172f63ae7 Mon Sep 17 00:00:00 2001 From: "Jason M. Gates" Date: Wed, 3 Jul 2024 19:51:12 -0600 Subject: [PATCH] chore: Update LICENSE/COPYRIGHT info --- COPYRIGHT.md | 6 ++++++ LICENSE.md | 9 +++------ README.md | 4 ++-- doc/source/conf.py | 3 +-- example/basic.py | 2 +- example/default_values.py | 2 +- example/post_processing.py | 2 +- example/pretty_printing.py | 2 +- example/relative_references.py | 2 +- example/subparsers.py | 2 +- example/test_examples.py | 2 +- reverse_argparse/__init__.py | 2 +- reverse_argparse/reverse_argparse.py | 2 +- setup.py | 2 +- test/__init__.py | 2 +- test/test_reverse_argparse.py | 2 +- 16 files changed, 24 insertions(+), 22 deletions(-) create mode 100644 COPYRIGHT.md diff --git a/COPYRIGHT.md b/COPYRIGHT.md new file mode 100644 index 0000000..2ef413b --- /dev/null +++ b/COPYRIGHT.md @@ -0,0 +1,6 @@ +# Copyright + +*Copyright © 2023, National Technology & Engineering Solutions of +Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with +NTESS, the U.S. Government retains certain rights in this software. +All rights reserved.* diff --git a/LICENSE.md b/LICENSE.md index e0fbe54..7c5f2ac 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,9 +1,6 @@ -# 3-Clause BSD License +# BSD 3-Clause "New" or "Revised" License -_Copyright © 2023–2024, National Technology & Engineering Solutions of -Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with -NTESS, the U.S. Government retains certain rights in this software. -All rights reserved._ +Copyright 2023 NTESS. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -14,7 +11,7 @@ met: 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 Sandia National Laboratories nor the names of its +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/README.md b/README.md index 1d4c200..46f0942 100644 --- a/README.md +++ b/README.md @@ -85,9 +85,9 @@ we'd love to have your help :grinning: Check out our [contributors]: https://github.com/sandialabs/reverse_argparse/graphs/contributors -## License +## License & Copyright -See [LICENSE.md](LICENSE.md). +See [LICENSE.md](LICENSE.md) and [COPYRIGHT.md](COPYRIGHT.md). ## Credits diff --git a/doc/source/conf.py b/doc/source/conf.py index 3358ece..99bb62c 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -14,8 +14,7 @@ project = "reverse_argparse" copyright = ( # noqa: A001 - "2023–2024, National Technology & Engineering Solutions " # noqa: RUF001 - "of Sandia, LLC (NTESS)" + "2023, National Technology & Engineering Solutions of Sandia, LLC (NTESS)" ) author = "Jason M. Gates" version = "1.0.8" diff --git a/example/basic.py b/example/basic.py index 5750861..3d5cd6f 100755 --- a/example/basic.py +++ b/example/basic.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """Basic ``reverse_argparse`` functionality.""" -# © 2024 National Technology & Engineering Solutions of Sandia, LLC +# © 2023 National Technology & Engineering Solutions of Sandia, LLC # (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the # U.S. Government retains certain rights in this software. diff --git a/example/default_values.py b/example/default_values.py index 550994f..cb9d515 100755 --- a/example/default_values.py +++ b/example/default_values.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """How ``reverse_argparse`` handles default values.""" -# © 2024 National Technology & Engineering Solutions of Sandia, LLC +# © 2023 National Technology & Engineering Solutions of Sandia, LLC # (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the # U.S. Government retains certain rights in this software. diff --git a/example/post_processing.py b/example/post_processing.py index a12907f..7c63a50 100755 --- a/example/post_processing.py +++ b/example/post_processing.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """How ``reverse_argparse`` handles post-processing of arguments.""" -# © 2024 National Technology & Engineering Solutions of Sandia, LLC +# © 2023 National Technology & Engineering Solutions of Sandia, LLC # (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the # U.S. Government retains certain rights in this software. diff --git a/example/pretty_printing.py b/example/pretty_printing.py index 412a91e..5558492 100755 --- a/example/pretty_printing.py +++ b/example/pretty_printing.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """``reverse_argparse`` pretty-printing functionality.""" -# © 2024 National Technology & Engineering Solutions of Sandia, LLC +# © 2023 National Technology & Engineering Solutions of Sandia, LLC # (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the # U.S. Government retains certain rights in this software. diff --git a/example/relative_references.py b/example/relative_references.py index b5e149b..d331b64 100755 --- a/example/relative_references.py +++ b/example/relative_references.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """How ``reverse_argparse`` handles relative references.""" -# © 2024 National Technology & Engineering Solutions of Sandia, LLC +# © 2023 National Technology & Engineering Solutions of Sandia, LLC # (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the # U.S. Government retains certain rights in this software. diff --git a/example/subparsers.py b/example/subparsers.py index 5ad12d7..0583355 100755 --- a/example/subparsers.py +++ b/example/subparsers.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """How ``reverse_argparse`` handles subparsers.""" -# © 2024 National Technology & Engineering Solutions of Sandia, LLC +# © 2023 National Technology & Engineering Solutions of Sandia, LLC # (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the # U.S. Government retains certain rights in this software. diff --git a/example/test_examples.py b/example/test_examples.py index 4c0ae02..0ed695d 100755 --- a/example/test_examples.py +++ b/example/test_examples.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """Run all the examples and ensure their output is correct.""" -# © 2024 National Technology & Engineering Solutions of Sandia, LLC +# © 2023 National Technology & Engineering Solutions of Sandia, LLC # (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the # U.S. Government retains certain rights in this software. diff --git a/reverse_argparse/__init__.py b/reverse_argparse/__init__.py index 636275f..9238c12 100644 --- a/reverse_argparse/__init__.py +++ b/reverse_argparse/__init__.py @@ -5,7 +5,7 @@ :func:`quote_arg_if_necessary` helper function. """ -# © 2024 National Technology & Engineering Solutions of Sandia, LLC +# © 2023 National Technology & Engineering Solutions of Sandia, LLC # (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the # U.S. Government retains certain rights in this software. diff --git a/reverse_argparse/reverse_argparse.py b/reverse_argparse/reverse_argparse.py index 8974253..44f4a9b 100644 --- a/reverse_argparse/reverse_argparse.py +++ b/reverse_argparse/reverse_argparse.py @@ -7,7 +7,7 @@ with spaces in them with quotes. """ -# © 2024 National Technology & Engineering Solutions of Sandia, LLC +# © 2023 National Technology & Engineering Solutions of Sandia, LLC # (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the # U.S. Government retains certain rights in this software. diff --git a/setup.py b/setup.py index 02d0e33..83cef0e 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ To install, simply ``python3 -m pip install .`` in the repository root. """ -# © 2024 National Technology & Engineering Solutions of Sandia, LLC +# © 2023 National Technology & Engineering Solutions of Sandia, LLC # (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the # U.S. Government retains certain rights in this software. diff --git a/test/__init__.py b/test/__init__.py index fe0af36..2dd4e31 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -6,7 +6,7 @@ directory. """ -# © 2024 National Technology & Engineering Solutions of Sandia, LLC +# © 2023 National Technology & Engineering Solutions of Sandia, LLC # (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the # U.S. Government retains certain rights in this software. diff --git a/test/test_reverse_argparse.py b/test/test_reverse_argparse.py index 87ab117..18da7eb 100644 --- a/test/test_reverse_argparse.py +++ b/test/test_reverse_argparse.py @@ -1,6 +1,6 @@ """The unit test suite for the ``reverse_argparse`` package.""" -# © 2024 National Technology & Engineering Solutions of Sandia, LLC +# © 2023 National Technology & Engineering Solutions of Sandia, LLC # (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the # U.S. Government retains certain rights in this software.