codesmidgen/pyproject.toml

80 lines
1.8 KiB
TOML
Raw Normal View History

2023-07-27 00:43:28 +00:00
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
2023-07-28 06:14:10 +00:00
name = "CodeSmidgen"
2023-07-27 00:43:28 +00:00
dynamic = ["version"]
description = "A simple pastebin"
license = "GPL-3.0-or-later"
requires-python = ">=3.11"
authors = [
{ name = "Raoul Snyman", email = "raoul@snyman.info" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
# "Framework :: Quart",
"Intended Audience :: Other Audience",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Content Management System",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
]
dependencies = [
"Quart",
"Quart-Flask-Patch",
"Flask-SQLAlchemy",
"nord-pygments",
"psycopg2_binary",
"Pygments",
]
[project.optional-dependencies]
dev = [
"pytest-cov",
"pytest",
]
[project.urls]
Homepage = "https://bin.snyman.info"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.sdist]
include = [
2023-07-28 06:14:10 +00:00
"/codesmidgen",
2023-07-27 00:43:28 +00:00
]
[tool.hatch.envs.default.scripts]
2023-07-28 06:14:10 +00:00
serve = "quart -A codesmidgen.app run"
[tool.hatch.envs.lint]
skip-install = true
dependencies = [
"flake8"
]
[tool.hatch.envs.lint.scripts]
run = "flake8"
[tool.hatch.envs.tests]
dependencies = [
"pytest-asyncio",
"pytest-cov",
"pytest",
]
[tool.hatch.envs.tests.scripts]
2023-07-28 06:14:10 +00:00
run = "pytest --cov=codesmidgen --cov-report=html"