2024-07-28 20:46:42 -04:00
|
|
|
[tool.poetry]
|
2024-08-21 22:07:35 -04:00
|
|
|
name = "spiderweb-framework"
|
2024-08-30 20:34:43 -04:00
|
|
|
version = "0.12.0"
|
2024-08-21 22:07:35 -04:00
|
|
|
description = "A small web framework, just big enough for a spider."
|
2024-07-28 20:46:42 -04:00
|
|
|
authors = ["Joe Kaufeld <opensource@joekaufeld.com>"]
|
|
|
|
readme = "README.md"
|
2024-08-21 22:07:35 -04:00
|
|
|
packages = [{include = "spiderweb"}]
|
2024-08-23 22:17:21 -04:00
|
|
|
license = "LICENSE.txt"
|
2024-08-21 22:07:35 -04:00
|
|
|
exclude = [
|
|
|
|
"tests/*",
|
|
|
|
"example.py",
|
|
|
|
"example2.py",
|
|
|
|
"static_files/*",
|
|
|
|
"templates/*",
|
|
|
|
"example_middleware.py",
|
|
|
|
]
|
|
|
|
classifiers = [
|
|
|
|
"Development Status :: 4 - Beta",
|
|
|
|
"Environment :: Web Environment",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
|
|
"Programming Language :: Python :: 3.11",
|
|
|
|
"Programming Language :: Python :: 3.12",
|
|
|
|
"Programming Language :: Python :: 3.13",
|
|
|
|
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
|
|
|
|
"Topic :: Internet :: WWW/HTTP :: WSGI",
|
|
|
|
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
|
|
|
|
"Topic :: Software Development :: Libraries :: Application Frameworks",
|
|
|
|
]
|
2024-07-28 20:46:42 -04:00
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
python = "^3.11"
|
|
|
|
peewee = "^3.17.6"
|
2024-08-06 01:10:00 -04:00
|
|
|
jinja2 = "^3.1.4"
|
2024-08-14 17:27:21 -04:00
|
|
|
cryptography = "^43.0.0"
|
2024-08-21 21:07:44 -04:00
|
|
|
email-validator = "^2.2.0"
|
|
|
|
pydantic = "^2.8.2"
|
2024-07-28 20:46:42 -04:00
|
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
|
|
ruff = "^0.5.5"
|
|
|
|
pytest = "^8.3.2"
|
2024-08-06 01:10:00 -04:00
|
|
|
black = "^24.8.0"
|
2024-08-18 17:45:38 -04:00
|
|
|
gunicorn = "^23.0.0"
|
2024-08-26 01:56:08 -04:00
|
|
|
hypothesis = "^6.111.2"
|
|
|
|
coverage = "^7.6.1"
|
2024-07-28 20:46:42 -04:00
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|
2024-08-18 17:45:38 -04:00
|
|
|
|
|
|
|
[tool.poetry_bumpversion.file."spiderweb/constants.py"]
|
2024-08-21 22:07:35 -04:00
|
|
|
|
|
|
|
[project.urls]
|
|
|
|
Homepage = "https://github.com/itsthejoker/spiderweb"
|
|
|
|
Documentation = "https://github.com/itsthejoker/spiderweb"
|
|
|
|
Repository = "https://git.joekaufeld.com/jkaufeld/spiderweb"
|
|
|
|
"Bug Tracker" = "https://github.com/itsthejoker/spiderweb/issues"
|
2024-08-26 01:56:08 -04:00
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
minversion = "6.0"
|
|
|
|
addopts = ["--maxfail=2", "-rf"]
|
|
|
|
|
|
|
|
[tool.coverage.run]
|
|
|
|
branch = true
|
|
|
|
omit = ["conftest.py"]
|
|
|
|
|
|
|
|
[tool.coverage.report]
|
|
|
|
# Regexes for lines to exclude from consideration
|
|
|
|
exclude_also = [
|
|
|
|
# Don't complain about missing debug-only code:
|
|
|
|
"def __repr__",
|
|
|
|
"if self\\.debug",
|
|
|
|
|
|
|
|
# Don't complain if tests don't hit defensive assertion code:
|
|
|
|
"raise AssertionError",
|
|
|
|
"raise NotImplementedError",
|
|
|
|
|
|
|
|
# Don't complain if non-runnable code isn't run:
|
|
|
|
"if 0:",
|
|
|
|
"if __name__ == .__main__.:",
|
|
|
|
|
|
|
|
# Don't complain about abstract methods, they aren't run:
|
|
|
|
"@(abc\\.)?abstractmethod",
|
|
|
|
]
|
|
|
|
|
|
|
|
ignore_errors = true
|