diff --git a/licenses/LICENSE.rst b/LICENSE.rst similarity index 100% rename from licenses/LICENSE.rst rename to LICENSE.rst diff --git a/licenses/README.rst b/licenses/README.rst deleted file mode 100644 index 67b82f69..00000000 --- a/licenses/README.rst +++ /dev/null @@ -1,9 +0,0 @@ -Licenses -======== - -This directory holds license and credit information for the package, -works the package is derived from, and/or datasets. - -Ensure that you pick a package licence which is in this folder and it matches -the one mentioned in the top level README.rst file. If you are using the -pre-rendered version of this template check for the word 'Other' in the README. diff --git a/licenses/TEMPLATE_LICENCE.rst b/licenses/TEMPLATE_LICENCE.rst deleted file mode 100644 index f29177b0..00000000 --- a/licenses/TEMPLATE_LICENCE.rst +++ /dev/null @@ -1,31 +0,0 @@ -This project is based upon the Astropy package template -(https://github.com/astropy/package-template/) which is licenced under the terms -of the following licence. - ---- - -Copyright (c) 2018, Astropy Developers -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 the Astropy Team 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/pyproject.toml b/pyproject.toml index 20aee5f5..1e404c76 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ dynamic = ["version"] description = "A package for performing stellar photometry." readme = "README.md" - license = "BSD-3-Clause" + license = { file = "LICENSE.rst" } requires-python = ">=3.10" authors = [ { name = "Matt Craig", email = "mattwcraig@gmail.com" },