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" }
|
|
|
|
]
|
2023-10-27 22:27:04 +00:00
|
|
|
requires-python = ">=3.7"
|
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]]
|
|
|
|
python = ["3", "3.7", "3.8", "3.9", "3.10", "3.11"]
|
|
|
|
|
|
|
|
[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"
|