forked from jborean93/smbprotocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (76 loc) · 1.79 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
[build-system]
requires = [
"setuptools >= 61.0.0", # Support for setuptools config in pyproject.toml
]
build-backend = "setuptools.build_meta"
[project]
name = "smbprotocol"
version = "1.13.0"
description = "Interact with a server using the SMB 2/3 Protocol"
readme = "README.md"
requires-python = ">=3.7"
license = {file = "LICENSE"}
authors = [
{ name = "Jordan Borean", email = "jborean93@gmail.com" }
]
keywords = ["smb", "smb2", "smb3", "cifs", "python"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"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 = [
"cryptography >= 2.0",
"pyspnego",
]
[project.optional-dependencies]
kerberos = ["pyspnego[kerberos]"]
[project.urls]
homepage = "https://github.com/jborean93/smbprotocol"
[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]
testpaths = "tests"
addopts = "--import-mode=importlib"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = sanity,py37,py38,py39,py310,py311
skip_missing_interpreters = true
isolated_build = true
[testenv]
deps =
-r{toxinidir}/requirements-dev.txt
commands =
python -m pytest -v --cov smbclient --cov smbprotocol --cov-report term-missing
passenv =
SMB_*
[testenv:sanity]
commands =
python -m black . --check
python -m isort . --check-only
"""