-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (89 loc) · 2.15 KB
/
pyproject.toml
File metadata and controls
97 lines (89 loc) · 2.15 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
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "postforge"
version = "0.9.5"
description = "A PostScript interpreter written in Python"
authors = [{name = "Scott Bowman", email = "scott@bowmans.org"}]
readme = "README.md"
license = "AGPL-3.0-or-later"
requires-python = ">=3.13"
keywords = ["postscript", "interpreter", "pdf", "svg", "png", "cairo", "eps"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Interpreters",
"Topic :: Multimedia :: Graphics",
]
dependencies = [
"pycairo>=1.28.0,<1.30.0",
"psutil>=5.9.0,<6.0.0",
"jpeglib>=1.0.0,<2.0.0",
"Pillow>=10.0.0,<12.0.0",
"numpy>=1.26.0,<3.0.0",
]
[project.scripts]
pf = "postforge.cli:main"
postforge = "postforge.cli:main"
[project.urls]
Homepage = "https://github.com/AndyCappDev/postforge"
Repository = "https://github.com/AndyCappDev/postforge"
"Bug Tracker" = "https://github.com/AndyCappDev/postforge/issues"
[project.optional-dependencies]
qt = ["PySide6>=6.5.0,<7.0.0"]
visual-test = [
"Pillow>=10.0.0,<12.0.0",
"PyMuPDF>=1.24.0,<2.0.0",
]
dev = [
"Cython>=3.0.0,<4.0.0",
"black>=23.0.0,<25.0.0",
"isort>=5.12.0,<6.0.0",
"flake8>=6.0.0,<8.0.0",
"pre-commit>=4.0.0,<5.0.0",
]
[tool.setuptools.packages.find]
where = ["."]
include = ["postforge*"]
[tool.setuptools.package-data]
postforge = [
"**/*.pyx",
"resources/**/*",
]
[tool.black]
line-length = 88
target-version = ['py313']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| venv
| env
| _build
| buck-out
| build
| dist
| samples
)/
'''
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
known_first_party = ["postforge"]
known_third_party = ["cairo"]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
force_grid_wrap = 0
combine_as_imports = true
include_trailing_comma = true
use_parentheses = true