scribeengine/pyproject.toml

67 lines
1.9 KiB
TOML
Raw Normal View History

2024-11-20 01:46:48 +00:00
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "scribeengine"
description = "ScribeEngine is a flexible open source content management system written in Python"
readme = "README.rst"
requires-python = ">=3.10"
license = "MIT"
keywords = ["content management", "blog", "web site"]
authors = [
{ name = "Raoul Snyman", email = "raoul@snyman.info" }
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Content Management System"
]
dynamic = ["version"]
dependencies = [
"Hypercorn",
"python-dotenv",
"Quart",
"quart-auth",
"quart-bcrypt",
"quart-flask-patch",
"quart-sqlalchemy>=3.0",
"flask-theme"
]
[project.urls]
Homepage = "https://scribeengine.org"
Documentation = "https://docs.scribeengine.org"
Source = "https://git.snyman.info/raoul/scribeengine"
Issues = "https://git.snyman.info/raoul/scribeengine/issues"
[tool.hatch.version]
source = "vcs"
path = "src/scribeengine/__about__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/scribeengine"]
[tool.hatch.envs.default]
dependencies = [
"pytest",
"pytest-watch",
"pytest-cov"
]
[tool.hatch.envs.default.scripts]
start = "hypercorn 'scribeengine.app:run()' {args}"
devserver = "python -m scribeengine {args}"
tests = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=scribeengine --cov=tests {args}"
"tests:watch" = "ptw -- --cov scribeengine --cov-report html"