-
-
Notifications
You must be signed in to change notification settings - Fork 134
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (89 loc) · 2.18 KB
/
pyproject.toml
File metadata and controls
100 lines (89 loc) · 2.18 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
[build-system]
requires = ["setuptools>=61", "wheel", "setuptools_scm>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "python-barcode"
description = "Create standard barcodes with Python. No external modules needed. (optional Pillow support included)."
readme = "README.rst"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [
{ name = "Hugo Osvaldo Barrera et al", email = "hugo@whynothugo.nl" }
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Multimedia :: Graphics",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dynamic = ["version"]
[project.optional-dependencies]
images = ["pillow"]
[project.scripts]
python-barcode = "barcode.pybarcode:main"
[project.urls]
documentation = "https://python-barcode.readthedocs.io/"
repository = "https://github.com/WhyNotHugo/python-barcode"
issues = "https://github.com/WhyNotHugo/python-barcode/issues"
funding= "https://whynothugo.nl/sponsor/"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
exclude = ["tests"]
[tool.setuptools_scm]
write_to = "barcode/version.py"
version_scheme = "post-release"
[tool.ruff.lint]
extend-select = [
"E",
"W",
"I",
"N",
"UP",
"YTT",
"BLE",
"B",
"C4",
"ISC",
"ICN",
"G",
"INP",
"PIE",
"PYI",
"PT",
"Q",
"RSE",
"RET",
"SIM",
"TID",
"TCH",
"INT",
"ERA",
"PGH",
"PLE",
"RUF",
]
[tool.ruff.lint.isort]
force-single-line = true
required-imports = ["from __future__ import annotations"]
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
]
[tool.pytest.ini_options]
addopts = [
"-vv",
"--cov=barcode",
"--cov-report=term-missing:skip-covered",
"--no-cov-on-fail",
]