Skip to content

Commit e98a566

Browse files
committed
Move project information to "pyproject.toml" and remove "setup.cfg"
1 parent dda5bb0 commit e98a566

File tree

2 files changed

+49
-46
lines changed

2 files changed

+49
-46
lines changed

pyproject.toml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
1+
[project]
2+
name = "zbarlight"
3+
version = "4.0.dev0"
4+
requires-python = ">= 3.10"
5+
dependencies = [
6+
"Pillow",
7+
]
8+
authors = [
9+
{ name = "Polyconseil", email = "[email protected]" },
10+
]
11+
readme = "README.rst"
12+
description = "A simple zbar wrapper"
13+
license = "BSD-3-Clause"
14+
license-files = ["LICENSE"]
15+
keywords = ["zbar", "QR code reader"]
16+
classifiers = [
17+
"Development Status :: 5 - Production/Stable",
18+
"Intended Audience :: Developers",
19+
"Operating System :: OS Independent",
20+
"Programming Language :: C",
21+
"Programming Language :: Python :: 3.10",
22+
"Programming Language :: Python :: 3.11",
23+
"Programming Language :: Python :: 3.12",
24+
"Programming Language :: Python :: 3.13",
25+
"Programming Language :: Python :: 3.14",
26+
"Topic :: Scientific/Engineering :: Image Recognition",
27+
]
28+
29+
# FIXME
30+
# zip_safe = False
31+
# include_package_data = True
32+
# packages = find:
33+
34+
35+
[project.urls]
36+
Homepage = "https://github.com/Polyconseil/zbarlight"
37+
Documentation = "https://zbarlight.readthedocs.io"
38+
Repository = "https://github.com/Polyconseil/zbarlight"
39+
Issues = "https://github.com/Polyconseil/zbarlight"
40+
Changelog = "https://github.com/Polyconseil/zbarlight/blob/master/Changelog.rst"
41+
42+
43+
[tool.isort]
44+
force_single_line = 1
45+
line_length = 120
46+
multi_line_output = 3
47+
known_first_party = "zbarlight"
48+
49+
150
[tool.mypy]
251
show_error_codes = true
352
strict = true

setup.cfg

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)