py-scopes/pyproject.toml

43 lines
1 KiB
TOML

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "py-scopes"
version = "3.0.1"
description = "Implementation of the unknown 'scopes' paradigm in Python"
readme = "README.md"
license = {text = "MIT"}
keywords = ["scopes"]
authors = [{name = "Helmut Merz", email = "helmutm@cy55.de"}]
dependencies = ["SQLAlchemy", "pydantic", "pydantic-settings"]
[project.optional-dependencies]
postgres = [
"psycopg[binary]",
"transaction",
"zope.sqlalchemy",
]
app = [ # TODO: rename to zope
"python-dotenv",
"waitress",
"zope.authentication",
"zope.interface",
"zope.publisher",
"zope.traversing",
]
api = ["fastapi[standard]"]
auth = ["pyjwt[crypto]", "cryptography", "requests"]
test = ["zope.testrunner"] # TODO: rename to zopetest, or merge with apitest
apitest = ["pytest", "httpx2"]
[tool.setuptools]
packages = ["scopes"]
[tool.pytest.ini_options]
addopts = ["-s"]
testpaths = ["tests"]
#python_files = ["test_api.py"]
# use .pytest.ini file for local test config