whoops guess that got missed in the refactor. this also adds our first functional test! to reproduce the problem since unit tests didn't catch it. unfortunately i'm still missing something about how the functional TestApp is supposed to work, in conjunction with the test DB etc. seems to be acting strangely with regard to permission checks especially...
100 lines
2.7 KiB
TOML
100 lines
2.7 KiB
TOML
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
[project]
|
|
name = "WuttaWeb"
|
|
version = "0.26.0"
|
|
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",
|
|
"SQLAlchemy-Utils",
|
|
"waitress",
|
|
"WebHelpers2",
|
|
"WuttJamaican[db]>=0.28.0",
|
|
"zope.sqlalchemy>=1.5",
|
|
]
|
|
|
|
|
|
[project.optional-dependencies]
|
|
continuum = ["Wutta-Continuum>=0.3.0"]
|
|
docs = ["Sphinx", "furo", "sphinxcontrib-programoutput"]
|
|
tests = ["pylint", "pytest", "pytest-cov", "tox", "WebTest"]
|
|
|
|
|
|
[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/",
|
|
]
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
markers = [
|
|
"versioned: tests with SQLAlchemy-Continuum versioning feature enabled",
|
|
]
|