summaryrefslogtreecommitdiff
path: root/pyproject.toml
blob: 606d01cf25a25fdd88f7c42e06be30a9de0dd8fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[tool.poetry]
name = "pysaml2"
version = "7.3.0-alpha"
description = "Python implementation of SAML Version 2 Standard"
license = "Apache-2.0"
authors = ["IdentityPython <discuss@idpy.org>"]
maintainers = ["IdentityPython <discuss@idpy.org>"]
readme = "README.rst"
homepage = "https://idpy.org"
repository = "https://github.com/IdentityPython/pysaml2"
documentation = "https://pysaml2.readthedocs.io"
keywords = [
    "saml",
    "saml2",
    "standard",
    "federation",
    "identity",
    "idpy",
    "IdentityPython",
]
classifiers = [
    "Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [
    { include = "saml2", from = "src" },
    { include = "saml2test", from = "src" },
    { include = "utility", from = "src" },
]

[tool.poetry.urls]
"Bug Tracker" = "https://github.com/IdentityPython/pysaml2/issues"

[tool.poetry.scripts]
make_metadata = "saml2.tools.make_metadata:main"
mdexport = "saml2.tools.mdexport:main"
merge_metadata = "saml2.tools.merge_metadata:main"
parse_xsd2 = "saml2.tools.parse_xsd2:main"

[tool.poetry.dependencies]
python = "^3.6.2"
cryptography = ">=3.1"
defusedxml = "*"
importlib-metadata = {version = ">=1.7.0", python = "<3.8"}
importlib-resources = {python = "<3.9", version = "*"}
paste = {optional = true, version = "*"}
pyopenssl = "*"
python-dateutil = "*"
pytz = "*"
"repoze.who" = {optional = true, version = "*"}
requests = "^2"
six = "*"
xmlschema = ">=1.2.1"
"zope.interface" = {optional = true, version = "*"}

[tool.poetry.extras]
s2repoze = ["paste", "repoze-who", "zope-interface"]

[tool.poetry.group.dev]
optional = true

[tool.poetry.group.dev.dependencies]
black = "*"
pylint = "*"
flake8 = "*"
mypy = "*"
isort = {version = "^5.10.1", extras = ["pyproject"]}
tox = "^3.25.1"

[tool.poetry.group.test]
optional = true

[tool.poetry.group.test.dependencies]
pyasn1 = "*"
pymongo = "^3"
pytest = ">=6.0"
responses = "*"

[tool.poetry.group.coverage]
optional = true

[tool.poetry.group.coverage.dependencies]
coverage = "*"
pytest-cov = "*"

[tool.poetry.group.docs]
optional = true

[tool.poetry.group.docs.dependencies]
sphinx = "*"

[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -vvv"
testpaths = [
    "tests",
]
pythonpath = [
    "tests",
]

[tool.coverage.run]
branch = true
source = ["saml2"]

[tool.coverage.report]
exclude_lines = [
  "pragma: no cover",
  "def __repr__",
  "def __str__",
  "raise AssertionError",
  "raise NotImplementedError",
  "if __name__ == .__main__.:",
  "if TYPE_CHECKING:",
  "if typing.TYPE_CHECKING:",
]

[tool.coverage.html]
directory = "cov_html"