diff --git a/pyproject.toml b/pyproject.toml index 96b8f33..67704db 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,53 @@ +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "staticshield" +version = "20250319a" +authors = [ + {name = "Michiel Scholten", email = "michiel@diginaut.net"}, +] +description= "Shield a static website by requiring a login flow through a third site/web application" +readme = "README.md" +requires-python = ">=3.8" +keywords = ["security", "api", "automation", "authentication"] +license = {text = "MIT"} +classifiers = [ + "Framework :: Flask", + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License" +] +dependencies = [ + "flask", + "flask-session" +] + +[dependency-groups] +dev = [ + {include-group = "lint"}, + {include-group = "pub"}, + {include-group = "test"} +] +test = [ + "pytest>=7.0.0", + "pytest-cov>=4.0.0", +] +lint = [ + "ruff>=0.1.0", + "mypy>=1.0.0", + "bandit>=1.7.10", +] +# Publishing on PyPI +pub = [ + "build", + "twine" +] +server = [ + "gunicorn>=23.0.0", +] + + [tool.pytest.ini_options] markers = [ "network: mark a test that needs internet access",