[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"


[project]
name = "WuttaWeb"
version = "0.20.4"
description = "Web App for Wutta Framework"
readme = "README.md"
authors = [{name = "Lance Edgar", email = "lance@wuttaproject.org"}]
license = {text = "GNU GPL v3+"}
classifiers = [
        "Development Status :: 4 - Beta",
        "Environment :: Web Environment",
        "Framework :: Pyramid",
        "Intended Audience :: Developers",
        "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.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">= 3.8"
dependencies = [
        "asgiref",
        "ColanderAlchemy",
        "humanize",
        "markdown",
        "paginate",
        "paginate_sqlalchemy",
        "pyramid>=2",
        "pyramid_beaker",
        "pyramid_deform",
        "pyramid_fanstatic",
        "pyramid_mako",
        "pyramid_tm",
        "waitress",
        "WebHelpers2",
        "WuttJamaican[db]>=0.20.1",
        "zope.sqlalchemy>=1.5",
]


[project.optional-dependencies]
continuum = ["Wutta-Continuum"]
docs = ["Sphinx", "furo", "sphinxcontrib-programoutput"]
tests = ["pytest-cov", "tox"]


[project.entry-points."fanstatic.libraries"]
wuttaweb_img = "wuttaweb.static:img"

[project.entry-points."paste.app_factory"]
main = "wuttaweb.app:main"

[project.entry-points."wutta.app.providers"]
wuttaweb = "wuttaweb.app:WebAppProvider"

[project.entry-points."wutta.config.extensions"]
wuttaweb = "wuttaweb.conf:WuttaWebConfigExtension"

[project.entry-points."wutta.typer_imports"]
wuttaweb = "wuttaweb.cli"

[project.entry-points."wutta.web.menus"]
wuttaweb = "wuttaweb.menus:MenuHandler"


[project.urls]
Homepage = "https://wuttaproject.org/"
Repository = "https://forgejo.wuttaproject.org/wutta/wuttaweb"
Issues = "https://forgejo.wuttaproject.org/wutta/wuttaweb/issues"
Changelog = "https://forgejo.wuttaproject.org/wutta/wuttaweb/src/branch/master/CHANGELOG.md"


[tool.commitizen]
version_provider = "pep621"
tag_format = "v$version"
update_changelog_on_bump = true


[tool.hatch.build.targets.sdist]
exclude = [
  "htmlcov/",
]