2023-10-27 00:32:28 +00:00
|
|
|
[build-system]
|
|
|
|
requires = ["hatchling"]
|
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
|
|
[project]
|
|
|
|
name = "release-gitter"
|
2023-10-27 21:25:02 +00:00
|
|
|
dynamic = ["version"]
|
2023-10-27 00:32:28 +00:00
|
|
|
description = "Easily download releases from sites like Github and Gitea"
|
|
|
|
readme = "README.md"
|
|
|
|
license = "MIT"
|
|
|
|
classifiers = [
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
]
|
|
|
|
authors = [
|
|
|
|
{ name = "Ian Fijolek", email = "iamthefij@gmail.com" }
|
|
|
|
]
|
|
|
|
maintainers = [
|
|
|
|
{ name = "Ian Fijolek", email = "iamthefij@gmail.com" }
|
|
|
|
]
|
2024-05-14 21:20:39 +00:00
|
|
|
requires-python = ">=3.8"
|
2023-10-27 00:32:28 +00:00
|
|
|
dependencies = ["requests"]
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
|
|
|
builder = [
|
|
|
|
"toml",
|
|
|
|
"wheel",
|
|
|
|
]
|
|
|
|
|
|
|
|
[project.scripts]
|
|
|
|
release-gitter = "release_gitter:main"
|
|
|
|
|
|
|
|
[project.urls]
|
|
|
|
Homepage = "https://git.iamthefij.com/iamthefij/release-gitter"
|
|
|
|
|
2023-10-27 21:25:02 +00:00
|
|
|
[tool.hatch.version]
|
|
|
|
path = "release_gitter.py"
|
|
|
|
|
2023-10-27 00:32:28 +00:00
|
|
|
[tool.hatch.build]
|
|
|
|
include = ["release_gitter.py", "pseudo_builder.py"]
|
2023-10-27 20:36:48 +00:00
|
|
|
|
|
|
|
[tool.hatch.envs.test]
|
|
|
|
dependencies = [
|
|
|
|
"coverage",
|
|
|
|
]
|
|
|
|
|
|
|
|
[tool.hatch.envs.test.scripts]
|
|
|
|
run = [
|
|
|
|
"coverage erase",
|
|
|
|
"coverage run --source=release_gitter -m unittest discover . *_test.py",
|
|
|
|
"coverage report -m # --fail-under 70",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[tool.hatch.envs.test.matrix]]
|
2024-05-14 21:20:39 +00:00
|
|
|
python = ["3", "3.8", "3.9", "3.10", "3.11", "3.12"]
|
2023-10-27 20:36:48 +00:00
|
|
|
|
|
|
|
[tool.hatch.envs.lint]
|
|
|
|
detached = true
|
|
|
|
dependencies = ["pre-commit"]
|
|
|
|
|
|
|
|
[tool.hatch.envs.lint.scripts]
|
|
|
|
all = "pre-commit run --all-files"
|
|
|
|
install-hooks = "pre-commit install --install-hooks"
|
2024-05-14 21:14:57 +00:00
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
add_imports = ["from __future__ import annotations"]
|
|
|
|
force_single_line = true
|
|
|
|
profile = "black"
|