-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (85 loc) · 2.35 KB
/
pyproject.toml
File metadata and controls
100 lines (85 loc) · 2.35 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
[project]
name = "lematt"
version = "2.0.0"
description = "Matt's Let's Encrypt Automation - Certificate management with parallel processing"
readme = "README.md"
license = { text = "Apache-2.0" }
requires-python = ">=3.14"
authors = [
{ name = "Matt", email = "matt@example.com" }
]
keywords = ["letsencrypt", "acme", "ssl", "tls", "certificates", "automation"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.14",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Security :: Cryptography",
"Topic :: System :: Systems Administration",
]
# Required dependencies (tomllib is stdlib in Python 3.11+)
dependencies = [
"loguru>=0.7", # Modern structured logging
"rich>=13.0", # Beautiful terminal output, tables, progress bars
"textual>=0.47.0", # Interactive TUI framework
]
[project.optional-dependencies]
# Optional: native crypto for ~5x performance improvement
crypto = ["cryptography>=3.4"]
# Development dependencies
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"pytest-asyncio>=0.23.0", # For async test support
"mypy>=1.0",
"ruff>=0.1",
]
# Full installation with all features
full = [
"cryptography>=3.4",
]
[project.scripts]
lematt = "lematt.cli:main"
[project.urls]
Homepage = "https://github.com/mattsta/lematt"
Documentation = "https://matt.sh/lematt"
Repository = "https://github.com/mattsta/lematt"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/lematt"]
[tool.hatch.build.targets.sdist]
include = [
"src/lematt",
"acme_tiny.py",
"conf",
"contrib",
"README.md",
"LICENSE",
]
[tool.ruff]
target-version = "py314"
[tool.ruff.lint]
select = ["I", "UP"]
ignore = ["E501", "ANN401"] # Line length, Any type
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = false
[tool.mypy]
python_version = "3.14"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --tb=short"
[dependency-groups]
dev = [
"mypy>=1.18.2",
"types-cryptography>=3.3.23.2",
]