-
Notifications
You must be signed in to change notification settings - Fork 265
/
pyproject.toml
113 lines (99 loc) · 2.72 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
105
106
107
108
109
110
111
112
113
[build-system]
requires = [
"setuptools >= 61.0.0", # Support for setuptools config in pyproject.toml
]
build-backend = "setuptools.build_meta"
[project]
name = "pywinrm"
description = "Python library for Windows Remote Management"
readme = "README.md"
requires-python = ">=3.8"
license = { file = "LICENSE" }
authors = [
{ name = "Alexey Diyan", email = "[email protected]" }
]
keywords = ["winrm", "ws-man", "devops", "ws-management"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"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",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Clustering",
"Topic :: System :: Distributed Computing",
"Topic :: System :: Systems Administration"
]
dependencies = [
"requests >= 2.9.1",
"requests_ntlm >= 1.1.0",
"xmltodict"
]
dynamic = ["version"]
[project.urls]
homepage = "http://github.com/diyan/pywinrm/"
[project.optional-dependencies]
credssp = [
"requests-credssp >= 1.0.0"
]
kerberos = [
"pykerberos >= 1.2.1, < 2.0.0; sys_platform != 'win32'",
"winkerberos >= 0.5.0; sys_platform == 'win32'"
]
[tool.setuptools]
include-package-data = true
[tool.setupstools.packages]
find = {}
[tool.setuptools.package-data]
"winrm" = ["py.typed"]
"winrm.tests" = ["*.ps1"]
[tool.setuptools.dynamic]
version = { attr = "winrm.__version__" }
[tool.black]
line-length = 160
exclude = '''
/(
\.git
| \.venv
| build
| dist
| winrm/vendor
)/
'''
[tool.isort]
profile = "black"
[tool.mypy]
exclude = "build/|winrm/tests/|winrm/vendor/"
mypy_path = "$MYPY_CONFIG_FILE_DIR"
python_version = "3.8"
show_error_codes = true
show_column_numbers = true
disallow_any_unimported = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_reexport = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
[[tool.mypy.overrides]]
module = "winrm.vendor.*"
follow_imports = "skip"
[[tool.mypy.overrides]]
module = "requests.packages.urllib3.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "requests_credssp"
ignore_missing_imports = true