File: pyproject.toml

package info (click to toggle)
python-resolvelib 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,504 kB
  • sloc: python: 2,278; javascript: 102; sh: 9; makefile: 3
file content (111 lines) | stat: -rw-r--r-- 2,173 bytes parent folder | download
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
[project]
name = "resolvelib"
dynamic = ["version"]
description = "Resolve abstract dependencies into concrete ones"
authors = [
    {name = "Tzu-ping Chung", email = "uranusjr@gmail.com"},
]
dependencies = []
requires-python = ">=3.7"
readme = "README.rst"
license = {text = "ISC License"}
keywords = ["dependency", "resolution"]
classifiers = [
	"Development Status :: 3 - Alpha",
	"Intended Audience :: Developers",
	"License :: OSI Approved :: ISC License (ISCL)",
	"Operating System :: OS Independent",
	"Programming Language :: Python :: 3",
	"Topic :: Software Development :: Libraries :: Python Modules",

]

[project.urls]
Homepage = "https://github.com/sarugaku/resolvelib"

[project.optional-dependencies]
lint = [
    "ruff",
    "mypy",
    "types-requests",
]
test = [
    "packaging",
    "pytest",
]
release = [
    "build",
    "towncrier",
    "twine",
]

[build-system]
requires = ['setuptools>=62', 'wheel']
build-backend = "setuptools.build_meta"

[tool.setuptools]
include-package-data = true

[tool.setuptools.packages]
find = {where = ["src"], namespaces = false}

[tool.setuptools.dynamic]
version = {attr = "resolvelib.__version__"}

[tool.distutils.bdist_wheel]
universal = true

[tool.towncrier]
package = 'resolvelib'
package_dir = 'src'
filename = 'CHANGELOG.rst'
directory = 'news/'
title_format = '{version} ({project_date})'
issue_format = '`#{issue} <https://github.com/sarugaku/resolvelib/issues/{issue}>`_'
template = 'news/CHANGELOG.rst.jinja2'

[[tool.towncrier.type]]
directory = 'feature'
name = 'Features'
showcontent = true

[[tool.towncrier.type]]
directory = 'bugfix'
name = 'Bug Fixes'
showcontent = true

[[tool.towncrier.type]]
directory = 'trivial'
name = 'Trivial Changes'
showcontent = false

[tool.ruff]
src = ["src"]
line-length = 88

[tool.ruff.lint]
select = ["C","E","F","W","B","RUF","PLE","PLW","I","TCH","FA"]
ignore = ["PLW2901"]
exclude = [
	".git",
	".venv",
	".venvs",
	".nox",
	"__pycache__",
	"build",
	"dist",
	"*.pyi"
]

[tool.ruff.lint.mccabe]
max-complexity = 12

[tool.mypy]
warn_unused_configs = true

[[tool.mypy.overrides]]
module = [
    "html5lib",
    "packaging.*"
]
ignore_missing_imports = true