File: pyproject.toml

package info (click to toggle)
psutils 3.3.14-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,280 kB
  • sloc: python: 2,984; makefile: 28
file content (67 lines) | stat: -rw-r--r-- 2,587 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
[project]
name = "psutils"
version = "3.3.14"
description = "Manipulate PDF and PostScript documents"
license = "GPL-3.0-or-later"
authors = [
    {name = "Reuben Thomas", email = "rrt@sc3d.org"}
]
readme = "README.md"
urls = {Homepage = "https://github.com/rrthomas/psutils"}
requires-python = ">= 3.12"
dependencies = [
    "puremagic >= 1.26",
    "pypdf >= 4.3.0",
]
classifiers = [
    "Environment :: Console",
    "Programming Language :: Python :: 3",
]

[project.scripts]
epsffit = "psutils.command.epsffit:epsffit"
extractres = "psutils.command.extractres:extractres"
includeres = "psutils.command.includeres:includeres"
psbook = "psutils.command.psbook:psbook"
psjoin = "psutils.command.psjoin:psjoin"
psnup = "psutils.command.psnup:psnup"
psresize = "psutils.command.psresize:psresize"
psselect = "psutils.command.psselect:psselect"
pstops = "psutils.command.pstops:pstops"

[project.optional-dependencies]
test = [
    "pytest-datafiles",
    "Wand",
]

[build-system]
requires = [
    "argparse-manpage[setuptools] >= 4.2",
    "puremagic >= 1.26",
    "pypdf >= 4.3.0",
]

[tool.build_manpages]
manpages = [
    "epsffit.1:module=psutils.command.epsffit:function=get_parser:manual_title=User Command:prog=epsffit:include=epsffit-include.man",
    "extractres.1:module=psutils.command.extractres:function=get_parser:manual_title=User Commands:prog=extractres:include=extractres-include.man",
    "includeres.1:module=psutils.command.includeres:function=get_parser:manual_title=User Commands:prog=includeres:include=includeres-include.man",
    "psbook.1:module=psutils.command.psbook:function=get_parser:manual_title=User Commands:prog=psbook:include=psbook-include.man",
    "psjoin.1:module=psutils.command.psjoin:function=get_parser:manual_title=User Commands:prog=psjoin",
    "psnup.1:module=psutils.command.psnup:function=get_parser_manpages:manual_title=User Commands:prog=psnup:include=psnup-include.man",
    "psresize.1:module=psutils.command.psresize:function=get_parser:manual_title=User Commands:prog=psresize:include=psresize-include.man",
    "psselect.1:module=psutils.command.psselect:function=get_parser:manual_title=User Commands:prog=psselect:include=psselect-include.man",
    "pstops.1:module=psutils.command.pstops:function=get_parser_manpages:manual_title=User Commands:prog=pstops:include=pstops-include.man",
    "psutils.1:manfile=psutils.1",
]

[tool.ruff.lint]
select = ["D", "E", "F", "I", "UP"]
ignore = ["D1", "D401", "E741", "D415", "E501"]

[tool.ruff.lint.isort]
lines-after-imports = 2

[tool.ruff.lint.pydocstyle]
convention = "google"