1- [tool .poetry ]
1+ [build-system ]
2+ requires = [" setuptools>=61.0.0" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [project ]
26name = " python3-saml"
37version = " 1.16.0"
48description = " Saml Python Toolkit. Add SAML support to your Python software using this library"
5- license = " Apache-2.0"
6- authors = [" SAML-Toolkits <contact@iamdigitalservices.com>" ]
7- maintainers = [" Sixto Martin <sixto.martin.garcia@gmail.com>" ]
9+ license = {file = " LICENSE" }
10+ authors = [
11+ {name = " SAML-Toolkits" , email = " contact@iamdigitalservices.com" }
12+ ]
13+ maintainers = [
14+ {name = " Sixto Martin" , email = " sixto.martin.garcia@gmail.com" }
15+ ]
816readme = " README.md"
9- homepage = " https://saml.info"
10- repository = " https://github.com/SAML-Toolkits/python3-saml"
1117keywords = [
1218 " saml" ,
1319 " saml2" ,
@@ -17,71 +23,42 @@ keywords = [
1723 " identity" ,
1824]
1925classifiers = [
20- " Topic :: Software Development :: Build Tools" ,
26+ " Programming Language :: Python :: 3.7" ,
27+ " Programming Language :: Python :: 3.8" ,
28+ " Programming Language :: Python :: 3.9" ,
29+ " Programming Language :: Python :: 3.10" ,
30+ " Programming Language :: Python :: 3.11" ,
31+ " Programming Language :: Python :: 3.12" ,
2132 " Topic :: Software Development :: Libraries :: Python Modules" ,
2233]
23- packages = [
24- { include = " onelogin" , from = " src" },
25- { include = " onelogin/saml2" , from = " src" },
34+ dependencies = [
35+ " lxml>=4.6.5,!=4.7.0" ,
36+ " xmlsec>=1.3.9" ,
37+ " isodate>=0.6.1" ,
2638]
39+ requires-python = " >=3.7"
2740
28- include = [
29- { path = " src/onelogin/saml2/schemas" },
30- { path = " tests" , format = " sdist" }
31- ]
32-
33- [tool .poetry .urls ]
41+ [project .urls ]
42+ Homepage = " https://saml.info"
43+ Source = " https://github.com/SAML-Toolkits/python3-saml"
3444"Bug Tracker" = " https://github.com/SAML-Toolkits/python3-saml/issues"
45+ Changelog = " https://github.com/SAML-Toolkits/python3-saml/blob/master/changelog.md"
3546
36- [tool .poetry .dependencies ]
37- python = " >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
38- lxml = " >=4.6.5, !=4.7.0"
39- xmlsec = " >=1.3.9"
40- isodate = " >=0.6.1"
41-
42- # [tool.poetry.group.dev]
43- # optional = true
44-
45- # [tool.poetry.group.dev.dependencies]
46- # black = "*"
47- # isort = {version = "^5.10.1", extras = ["pyproject"]}
48- flake8 = { version = " >=3.6.0, <=5.0.0" , optional = true }
49- # Flake8-pyproject = "^1.1.0.post0"
50- # flake8-bugbear = "^22.8.23"
51- # flake8-logging-format = "^0.7.5"
52- # ipdb = "^0.13.9"
53-
54- # [tool.poetry.group.test.dependencies]
55- pytest = { version = " >=4.6.11" , optional = true }
56- coverage = { version = " >=4.5.2" , optional = true }
57- # pylint = ">=1.9.4"
58-
59- [tool .poetry .extras ]
60- test = [" flake8" , " pytest" , " coverage" ]
61-
62- # [tool.poetry.group.test]
63- # optional = true
64-
65- # [tool.poetry.group.coverage]
66- # optional = true
67-
68- # [tool.poetry.group.coverage.dependencies]
69- # coverage = ">=4.5.2"
70- # pytest-cov = "*"
71-
72- # [tool.poetry.group.docs]
73- # optional = true
47+ [project .optional-dependencies ]
48+ test = [
49+ " coverage>=4.5.2" ,
50+ " pytest>=4.6" ,
51+ ]
52+ lint = [
53+ " black==24.4.2" ,
54+ " flake8>=3.6.0, <=5.0.0" ,
55+ ]
7456
75- # [tool.poetry.group.docs.dependencies ]
76- # sphinx = "*"
57+ [tool .setuptools ]
58+ package-dir = { "" = " src " }
7759
78- [build-system ]
79- requires = [
80- " poetry>=1.1.15" ,
81- " setuptools >= 40.1.0" ,
82- " wheel"
83- ]
84- build-backend = " poetry.core.masonry.api"
60+ [tool .setuptools .package-data ]
61+ "onelogin.saml2.schemas" = [" *.xsd" ]
8562
8663[tool .pytest .ini_options ]
8764minversion = " 4.6.11"
@@ -93,75 +70,11 @@ pythonpath = [
9370 " tests" ,
9471]
9572
96- [tool .coverage .run ]
97- branch = true
98- source = [" src/onelogin/saml2" ]
99-
100- [tool .coverage .report ]
101- exclude_lines = [
102- " pragma: no cover" ,
103- " def __repr__" ,
104- " def __str__" ,
105- " raise AssertionError" ,
106- " raise NotImplementedError" ,
107- " if __name__ == .__main__.:" ,
108- " if TYPE_CHECKING:" ,
109- " if typing.TYPE_CHECKING:" ,
110- ]
111- ignore_errors = true
112-
113- [tool .coverage .html ]
114- directory = " cov_html"
115-
116- [tool .flake8 ]
117- max-line-length = 210
118- max-complexity = 22
119- count = true
120- show-source = true
121- statistics = true
122- disable-noqa = false
123- # 'ignore' defaults to: E121,E123,E126,E226,E24,E704,W503,W504
124- extend-ignore = [
125- ' B904' ,
126- ' B006' ,
127- ' B950' ,
128- ' B017' ,
129- ' C901' ,
130- ' E501' ,
131- ' E731' ,
132- ]
133- per-file-ignores = [
134- ' __init__.py:F401' ,
135- ]
136- # 'select' defaults to: E,F,W,C90
137- extend-select = [
138- # * Default warnings reported by flake8-bugbear (B) -
139- # https://github.com/PyCQA/flake8-bugbear#list-of-warnings
140- ' B' ,
141- # * The B950 flake8-bugbear opinionated warnings -
142- # https://github.com/PyCQA/flake8-bugbear#opinionated-warnings
143- ' B9' ,
144- ]
145- extend-exclude = [
146- ' .github' , ' .gitlab' ,
147- ' .Python' , ' .*.pyc' , ' .*.pyo' , ' .*.pyd' , ' .*.py.class' , ' *.egg-info' ,
148- ' venv*' , ' .venv*' , ' .*_cache' ,
149- ' lib' , ' lib64' , ' .*.so' ,
150- ' build' , ' dist' , ' sdist' , ' wheels' ,
151- ]
152-
15373[tool .black ]
15474line-length = 200
155- extend-exclude = '''
156- # A regex preceded with ^/ will apply only to files and directories
157- # in the root of the project.
158- (
159- \.pytest_cache
160- )
161- '''
16275
16376[tool .isort ]
164- profile = ' black'
77+ profile = " black"
16578# The 'black' profile means:
16679# multi_line_output = 3
16780# include_trailing_comma = true
@@ -179,7 +92,4 @@ honor_noqa = true
17992atomic = true
18093ignore_comments = true
18194skip_gitignore = true
182- src_paths = [
183- ' src' ,
184- ' tests' ,
185- ]
95+ src_paths = [' src' ]
0 commit comments