-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpyproject.toml
104 lines (89 loc) · 2.02 KB
/
pyproject.toml
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
[build-system]
requires = [
"setuptools >= 61.0.0", # Support for setuptools config in pyproject.toml
]
build-backend = "setuptools.build_meta"
[project]
name = "requests-gssapi"
description = "A GSSAPI authentication handler for python-requests"
readme = "README.rst"
requires-python = ">=3.8"
license = { file = "LICENSE" }
authors = [
{ name = "Robbie Harwood", email = "[email protected]" },
{ name = "Ian Cordasco" },
{ name = "Cory Benfield" },
{ name = "Michael Komitee" },
]
keywords = ["ansible", "debug", "lsp", "dap"]
classifiers = [
"License :: OSI Approved :: ISC License (ISCL)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"requests >= 1.1.0",
"gssapi",
]
dynamic = ["version"]
[project.urls]
homepage = "https://github.com/pythongssapi/requests-gssapi"
[project.optional-dependencies]
dev = [
"black == 24.2.0",
"isort == 5.13.2",
"pytest",
"tox >= 4.0.0",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.dynamic]
version = { attr = "requests_gssapi.__version__" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.black]
line-length = 120
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
addopts = "--import-mode=importlib"
testpaths = "tests"
junit_family = "xunit2"
[tool.tox]
legacy_tox_ini = """
[tox]
env_list =
sanity
py3{8,9,10,11,12}-tests
min_version = 4.0
[testenv]
package = wheel
wheel_build_env = .pkg
extras =
dev
install_command = python -Im pip install --no-compile {opts} {packages}
passenv =
PYTEST_ADDOPTS
commands =
sanity: python -m black . --check
sanity: python -m isort . --check-only
tests: python -m pytest -v
"""