forked from jaraco/cssutils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
85 lines (75 loc) · 1.93 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
[build-system]
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.1"]
build-backend = "setuptools.build_meta"
[project]
name = "cssutils"
authors = [
{ name = "Christof Hoeke", email = "[email protected]" },
]
maintainers = [
{ name = "Jason R. Coombs", email = "[email protected]" },
]
description = "A CSS Cascading Style Sheets library for Python"
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup :: HTML",
]
keywords = ["CSS", "Cascading Style Sheets", "CSSParser", "DOM Level 2 Stylesheets", "DOM Level 2 CSS"]
requires-python = ">=3.8"
dependencies = [
"more_itertools",
]
dynamic = ["version"]
[project.urls]
Source = "https://github.com/jaraco/cssutils"
[project.optional-dependencies]
test = [
# upstream
"pytest >= 6, != 8.1.*",
"pytest-checkdocs >= 2.4",
"pytest-cov",
"pytest-mypy",
"pytest-enabler >= 2.2",
"pytest-ruff >= 0.2.1; sys_platform != 'cygwin'",
# local
'lxml; python_version < "3.11"', # workaround for #25
"cssselect",
'importlib_resources; python_version < "3.9"',
"jaraco.test >= 5.1",
]
doc = [
# upstream
"sphinx >= 3.5",
"jaraco.packaging >= 9.3",
"rst.linker >= 1.9",
"furo",
"sphinx-lint",
# tidelift
"jaraco.tidelift >= 1.4",
# local
]
[project.scripts]
csscapture = "cssutils.scripts.csscapture:main"
csscombine = "cssutils.scripts.csscombine:main"
cssparse = "cssutils.scripts.cssparse:main"
[tool.setuptools.packages.find]
exclude = [
# duplicate exclusions for pypa/setuptools#2688
"docs",
"docs.*",
"examples*",
"sheets",
"sheets.*",
"tools*",
]
namespaces = true
[tool.setuptools_scm]
# disabled
[tool.pytest-enabler.mypy]