add basic homepage

This commit is contained in:
Wolfang Torres
2026-06-06 16:33:13 +08:00
parent 5496c114eb
commit 12487d7cba
80 changed files with 18309 additions and 47 deletions

View File

@@ -4,27 +4,81 @@ build-backend = "hatchling.build"
[project]
dynamic = ["version"]
name = "anki_creator_flask"
authors = [
{ name="Wolfang Torres", email="wolfang.torres@gmail.com" },
]
name = "anki-creator-flask"
description = "A webpage to be the forntend of the anki creator tool"
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
requires-python = ">=3.8"
license = "GPL-3.0-or-later"
license-files = ["LICENSE"]
keywords = []
authors = [
{ name = "Wolfang Torres", email = "wolfang.torres@gmail.com" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"flask"
"flask",
]
[project.optional-dependencies]
dev = [
"pytest",
"black",
"pylint",
"flakehell"
]
[project.urls]
Homepage = "https://github.com/pypa/sampleproject"
Issues = "https://github.com/pypa/sampleproject/issues"
Documentation = "https://gitea.wolfang.info.ve/wolfang/anki-creator-flask/wiki"
Issues = "https://gitea.wolfang.info.ve/wolfang/anki-creator-flask/issues"
Source = "https://gitea.wolfang.info.ve/wolfang/anki-creator-flask"
[tool.hatch.version]
path = "src/anki_creator_flask/__about__.py"
[tool.hatch.envs.default]
extra-dependencies = [
"anki-creator-flask[dev]",
]
[tool.hatch.envs.default.scripts]
format = "black --target-version=py314 src tests && isort src tests"
[tool.hatch.envs.types]
extra-dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:src/anki_creator_flask tests}"
[tool.coverage.run]
source_pkgs = ["anki_creator_flask", "tests"]
branch = true
parallel = true
omit = [
"src/anki_creator_flask/__about__.py",
]
[tool.coverage.paths]
anki_creator_flask = ["src/anki_creator_flask", "*/anki-creator-flask/src/anki_creator_flask"]
tests = ["tests", "*/anki-creator-flask/tests"]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.black]
line-length = 88