-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
40 lines (34 loc) · 982 Bytes
/
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
[project]
name = "pdfnumbering"
dynamic = ["version"]
description = "A package and CLI for adding page numbering to PDFs"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
authors = [
{ name = "Mikko Marttila", email = "[email protected]" },
]
requires-python = ">=3.10"
dependencies = [
"fpdf2>=2.0",
"pypdf>=3.0",
]
[project.urls]
Source = "https://github.com/mikmart/pdfnumbering"
Issues = "https://github.com/mikmart/pdfnumbering/issues"
[project.optional-dependencies]
dev = ["pdfnumbering[test, lint]"]
test = ["pytest"]
lint = ["pylint"]
[project.scripts]
pdfnumbering = "pdfnumbering.cli:main"
[tool.setuptools.dynamic]
version = { attr = "pdfnumbering.__version__" }
[tool.hatch.envs.default]
dependencies = ["pdfnumbering[dev]"]
[tool.hatch.envs.default.scripts]
test = "python -m pytest"
lint = "python -m pylint pdfnumbering"