-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (107 loc) · 2.96 KB
/
Copy pathpyproject.toml
File metadata and controls
118 lines (107 loc) · 2.96 KB
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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "linuxmuster-base7"
version = "7.3.29"
description = "Core Python library and tools for linuxmuster.net 7.x"
readme = "README.md"
requires-python = ">=3.8"
license = "GPL-3.0-or-later"
authors = [
{name = "Thomas Schmitt", email = "thomas@linuxmuster.net"}
]
maintainers = [
{name = "Thomas Schmitt", email = "thomas@linuxmuster.net"}
]
keywords = ["linuxmuster", "education", "school", "network", "management"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: System Administrators",
"Operating System :: POSIX :: Linux",
"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",
"Topic :: System :: Systems Administration",
]
dependencies = [
"paramiko",
"bcrypt",
"beautifulsoup4",
"lxml",
"IPy",
"python-apt",
"netifaces",
"pythondialog",
"ldap3",
"netaddr",
"requests",
"urllib3",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov",
"black",
"flake8",
"mypy",
]
[project.urls]
Homepage = "https://www.linuxmuster.net"
Documentation = "https://docs.linuxmuster.net"
Repository = "https://github.com/linuxmuster/linuxmuster-base7"
Issues = "https://github.com/linuxmuster/linuxmuster-base7/issues"
[project.scripts]
linuxmuster-setup = "linuxmuster_base7.cli.setup:main"
linuxmuster-import-devices = "linuxmuster_base7.cli.import_devices:main"
linuxmuster-import-subnets = "linuxmuster_base7.cli.import_subnets:main"
linuxmuster-modini = "linuxmuster_base7.cli.modini:main"
linuxmuster-opnsense-reset = "linuxmuster_base7.cli.opnsense_reset:main"
linuxmuster-renew-certs = "linuxmuster_base7.cli.renew_certs:main"
linuxmuster-update-ntpconf = "linuxmuster_base7.cli.update_ntpconf:main"
linuxmuster-holiday = "linuxmuster_base7.cli.holiday:main"
linuxmuster-holiday-generate = "linuxmuster_base7.cli.holiday_generate:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["linuxmuster_base7*"]
namespaces = false
[tool.setuptools.package-data]
linuxmuster_base7 = [
"*.conf",
"*.ini",
"*.json",
]
[tool.black]
line-length = 100
target-version = ['py38', 'py39', 'py310', 'py311']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --cov=linuxmuster_base7 --cov-report=term-missing"
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true