From a0c543bfad9d661b8e19f2394d71303390cb112c Mon Sep 17 00:00:00 2001 From: object-Object Date: Sun, 17 Sep 2023 17:42:28 -0400 Subject: [PATCH] Add more metadata --- doc/LICENSE.txt | 21 ++++++++++++++++ .../pyproject.toml | 1 + pyproject.toml | 24 +++++++++++++++++-- 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 doc/LICENSE.txt diff --git a/doc/LICENSE.txt b/doc/LICENSE.txt new file mode 100644 index 00000000..cd041c5f --- /dev/null +++ b/doc/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 object-Object, gamma-delta + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +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. diff --git a/doc/{{cookiecutter.output_directory}}/pyproject.toml b/doc/{{cookiecutter.output_directory}}/pyproject.toml index 54a91e3e..eff2c706 100644 --- a/doc/{{cookiecutter.output_directory}}/pyproject.toml +++ b/doc/{{cookiecutter.output_directory}}/pyproject.toml @@ -10,6 +10,7 @@ readme = "doc/README.md" authors = [ { name="{{ cookiecutter.author }}" }, ] +keywords = ["hexdoc"] requires-python = ">=3.11" dynamic = ["version", "dependencies", "optional-dependencies"] diff --git a/pyproject.toml b/pyproject.toml index 67e93580..0dbd673a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,14 +6,31 @@ build-backend = "hatchling.build" [project] name = "hexdoc" -dynamic = ["version"] +description = "Python web book docgen for Patchouli and Hex Casting." authors = [ { name="object-Object" }, { name="Alwinfy" }, ] readme = "doc/README.md" +license = { file = "doc/LICENSE.txt" } +keywords = ["hexdoc"] classifiers = [ "Framework :: Hatch", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Java", + "Programming Language :: JavaScript", + "Programming Language :: Kotlin", + "Programming Language :: Python :: 3.11", + "Topic :: Documentation", + "Topic :: File Formats :: JSON", + "Topic :: Games/Entertainment", + "Topic :: Internet :: WWW/HTTP :: Dynamic Content", + "Topic :: Software Development :: Libraries :: Python Modules", + "Topic :: Software Development :: Localization", + "Topic :: Text Processing :: Markup :: HTML", + "Typing :: Typed", ] requires-python = ">=3.11" dependencies = [ @@ -25,6 +42,7 @@ dependencies = [ "pyjson5>=1.6.3,<2", "pluggy>=1.3.0,<2", ] +dynamic = ["version"] [project.optional-dependencies] dev = [ @@ -36,6 +54,9 @@ dev = [ "build", ] +[project.urls] +Source = "https://github.com/object-Object/HexMod/tree/docgen-2-1.20/doc" # TODO: replace + # Gradle version/deps [tool.hatch.version] @@ -73,7 +94,6 @@ hexcasting = "hexdoc.hexcasting._hooks:HexcastingPlugin" minecraft = "hexdoc.minecraft._hooks:MinecraftPlugin" patchouli = "hexdoc.patchouli._hooks:PatchouliPlugin" - # Pytest [tool.pytest.ini_options]