-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
93 lines (81 loc) · 2.54 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "pip-deepfreeze"
description = "A simple pip freeze workflow for Python application developers."
readme = "README.md"
authors = [{name = "Stéphane Bidoul", email = "[email protected]"}]
license = "MIT"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"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",
]
requires-python = ">=3.8"
dependencies=[
"httpx",
"packaging >=23",
"typer >=0.12.1",
# installers
"pip >=22.2",
# compat
"importlib_resources>=1.3 ; python_version<'3.9'",
"tomli ; python_version<'3.11'",
]
dynamic = ["version"]
[project.optional-dependencies]
"test" = ["pytest", "pytest-cov", "pytest-xdist", "virtualenv", "setuptools", "wheel"]
"mypy" = ["mypy", "types-toml", "types-setuptools"]
"uv" = ["uv >=0.4.10"]
[project.scripts]
pip-df = "pip_deepfreeze.__main__:main"
pip-deepfreeze = "pip_deepfreeze.__main__:main"
[project.urls]
"Source" = "https://github.com/sbidoul/pip-deepfreeze/"
"Bug Reports" = "https://github.com/sbidoul/pip-deepfreeze/issues"
"Changelog" = "https://github.com/sbidoul/pip-deepfreeze/blob/master/CHANGELOG.md"
[tool.hatch.version]
source = "vcs"
[tool.towncrier]
package = "pip_deepfreeze"
package_dir = "src"
filename = "CHANGELOG.md"
directory = "news"
underlines = ["", "", ""]
issue_format = "[#{issue}](https://github.com/sbidoul/pip-deepfreeze/issues/{issue})"
title_format = "## {version} ({project_date})"
[tool.ruff]
fix = true
exclude = [
"src/pip_deepfreeze/pip-list-json.py",
"src/pip_deepfreeze/env-info-json.py",
"tests/test_pip_list_json.py",
"tests/test_env_info_json.py",
]
target-version = "py38"
[tool.ruff.lint]
select = [
"E", "F", "W", "C90", "B", "I", "UP", "RUF"
]
[tool.ruff.lint.per-file-ignores]
"__main__.py" = ["B008"]
[tool.ruff.lint.mccabe]
max-complexity = 13
[tool.ruff.lint.isort]
known-first-party = ["pip_deepfreeze"]
combine-as-imports = true
[tool.mypy]
strict = true
show_error_codes = true